public void OnUpdate(GAEditor editor) { if (Input.GetMouseButtonUp(0)) { editor.ChangeStateTo(State.Idle); } }