void OnLightTrip(bool isOn) { if (states == null) { return; } if (isOn) { states.ChangeState(StatesManager.states.LIGHTTRIP); } else { states.ChangeState(StatesManager.states.FLY); } }