/////////////////////////////////////////////////////////// // disables all states except the default state, and enables // the default state for the controller and the current // weapon and shooter /////////////////////////////////////////////////////////// public void ResetState() { if (Controller != null) { Controller.ResetState(); } if (Camera != null) { Camera.ResetState(); if (CurrentWeapon != null) { CurrentWeapon.ResetState(); } if (CurrentShooter != null) { CurrentShooter.ResetState(); } } }