导入odin

This commit is contained in:
2026-01-01 23:09:08 +08:00
parent 9ceffccd39
commit 04dd4a23b2
814 changed files with 120820 additions and 87 deletions

View File

@@ -5,12 +5,25 @@ namespace NBF
{
public class FPlayerData : MonoService<FPlayerData>
{
private PlayerState _playerState;
public bool Run;
public bool IsGrounded;
public float Speed;
public float RotationSpeed;
public Vector2 MoveInput;
public PlayerState State
{
get => _playerState;
set
{
_playerState = value;
OnStateChange?.Invoke(_playerState);
}
}
public event Action<PlayerState> OnStateChange;
}
}