public void Destroy() { UpdateController.StopAllTimers(); UpdateController.toFixedUpdate = null; UpdateController.toUpdate = null; GamePullController.Destroy(); }
public void Destroy() { OptionsController.instance.Destroy(); UpdateController.StopAllTimers(); UpdateController.toFixedUpdate = null; UpdateController.toUpdate = null; GamePullController.Destroy(); }
public void Destroy() { cogwheel1.rotation = 0; cogwheel2.rotation = 0; cogwheel3.rotation = 0; cogwheel1 = null; cogwheel2 = null; cogwheel3 = null; UpdateController.StopAllTimers(); UpdateController.toFixedUpdate = null; UpdateController.toUpdate = null; GamePullController.Destroy(); }