public void OnButtonReleased(int result) { if (transform.name == "LoadButton1") { episode_controller.LoadRed(); } if (transform.name == "LoadButton2") { episode_controller.LoadGreen(); } }