17 lines
252 B
C#
17 lines
252 B
C#
|
|
using Godot;
|
||
|
|
|
||
|
|
using Rokojori.Extensions;
|
||
|
|
namespace Rokojori
|
||
|
|
{
|
||
|
|
[Tool]
|
||
|
|
[GlobalClass]
|
||
|
|
public partial class DirectionalCycleInput : Resource
|
||
|
|
{
|
||
|
|
[Export]
|
||
|
|
public Sensor sensor;
|
||
|
|
|
||
|
|
[Export]
|
||
|
|
public Vector2 direction = Vector2.Right;
|
||
|
|
}
|
||
|
|
}
|