void OnDisable() { // Remove from our List. CharacterManager.Unregister(this); }
// Options for player interactions. // // // The characters base movement speed. // public float DefaultMoveSpeed = 1f; // // [ReadOnlyAttribute] // // public float BaseMoveSpeed; // [ReadOnlyAttribute] // public float CurrentMoveSpeed; void OnEnable() { // Add this to our List. CharacterManager.Register(this); }