示例#1
0
 void OnDisable()
 {
     // Remove from our List.
     CharacterManager.Unregister(this);
 }
示例#2
0
        // 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);
        }