In this recipe, you created a SoundManager GameObject with an AudioSource component attached. Then, you added an instance of the ScheduledSoundManager and ButtonActions scripts.
Additionally, you created a UI Text object, clock, which has been linked to the clockText variable in the ButtonActions script. Once per frame, via the Update() method, the current time is displayed to the user, in 24-hour clock format as hours/minutes/sections:
clockText.text = "Time = " + DateTime.Now.ToString("HH:mm:ss");
You created three UI Input Field objects, InputField-hours, InputField-minutes, and InputField-seconds. The user can type integer values for the hours/minutes/seconds into these input fields.
Additionally, you created a UI button, called Play Music At Scheduled Time, and added an OnClick() event to invoke the ACTION_PlayMusic() method of the scripted ButtonActions component of SoundManager...