32 lines
502 B
C#
32 lines
502 B
C#
![]() |
using Godot;
|
||
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using Godot.Collections;
|
||
|
|
||
|
namespace Rokojori
|
||
|
{
|
||
|
[Tool]
|
||
|
[GlobalClass, Icon("res://addons/rokojori_action_library/Icons/CCGravity.svg")]
|
||
|
public partial class ImpactForce:Resource
|
||
|
{
|
||
|
|
||
|
[Export]
|
||
|
public Curve forceOverTime;
|
||
|
|
||
|
[Export]
|
||
|
public float maxForce;
|
||
|
|
||
|
[Export]
|
||
|
public Curve freezeOverTime;
|
||
|
|
||
|
|
||
|
|
||
|
[Export]
|
||
|
public float duration;
|
||
|
|
||
|
[Export]
|
||
|
public Vector3 direction;
|
||
|
|
||
|
|
||
|
}
|
||
|
}
|