Ejemplo n.º 1
0
 void OnDisable()
 {
     // Remove from our List.
     CharacterManager.Unregister(this);
 }
Ejemplo n.º 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);
        }