public override void FinalDestroy() { base.FinalDestroy(); if (runSound != null) { runSound.Stop(); } bAttached = null; ground = null; if (Debug.DISPLAY_PLAYER_TOUCHING_COLLIDERS) { Debug.playerTouchingColliders.Clear(); } }
public PlayerController(BodiedActor attached) : base(attached) { bAttached = attached; }