using System; using BITKit; using BITKit.StateMachine; using Unity.Mathematics; namespace Project.B.CharacterController { /// /// 角色控制器 /// public interface ICharacterController:IStateMachine { ValidHandle AllowMovement { get; } float Height { get; } float3 Center { get; } float3 Position { get; set; } float3 Velocity { get; set; } float3 ViewPosition { get; } float3 AngularVelocity { get; } quaternion Rotation { get; set; } quaternion ViewRotation { get; set;} float3 SelfVelocity { get; } bool IsGrounded { get; } event Action OnLand; } }