public void Character_touched() { if (Voice.isPlaying) { return; // cooling down } if (Notifications.alarming) { Notifications.EndAlarm(); return; } var cur_pose_idx = Gamespace.Characters[curCharacter].GetComponentInChildren <CharacterSpriteManager>().show(-2, -1, 1); Voice.clip = voiceClips[curCharacter][cur_pose_idx][Random.Range(0, voiceClips[curCharacter][cur_pose_idx].Length)]; Voice.Play(); voice_bool = true; disappear(); }