public void SelectDeliverable() { if ((UnityEngine.Object)controller != (UnityEngine.Object)null) { controller.AddDeliverable(stats); } if (MusicManager.instance.SongIsPlaying("Music_SelectDuplicant")) { MusicManager.instance.SetSongParameter("Music_SelectDuplicant", "songSection", 1f, true); } selectButton.GetComponent <ImageToggleState>().SetActive(); selectButton.ClearOnClick(); selectButton.onClick += delegate { DeselectDeliverable(); if (MusicManager.instance.SongIsPlaying("Music_SelectDuplicant")) { MusicManager.instance.SetSongParameter("Music_SelectDuplicant", "songSection", 0f, true); } }; selectedBorder.SetActive(true); titleBar.color = selectedTitleColor; animController.Play("cheer_pre", KAnim.PlayMode.Once, 1f, 0f); animController.Play("cheer_loop", KAnim.PlayMode.Loop, 1f, 0f); }