using SHADE; using System; public class SoundsBoard : Script { protected override void awake() { /* * event:/UI/failure event:/UI/mouse_down_element event:/UI/mouse_down_empty event:/UI/mouse_enter_element event:/UI/mouse_exit_element event:/UI/success event:/Raccoon/raccoon_footsteps event:/Raccoon/raccoon_throw event:/Props/impact_hard event:/Props/impact_elastic event:/Music/player_undetected event:/Music/player_detected event:/Music/stingers/player_detected event:/Music/stingers/item_scored event:/Homeowner/homeowner_humming event:/Homeowner/homeowner_footsteps event:/Homeowner/homeowner_detect_raccoon */ } protected override void update() { if (Input.GetKey(Input.KeyCode.Q)) Audio.PlayBGMOnce2D("event:/UI/mouse_down_element"); if (Input.GetKey(Input.KeyCode.W)) Audio.PlayBGMOnce2D("event:/UI/mouse_down_empty"); if (Input.GetKey(Input.KeyCode.E)) Audio.PlayBGMOnce2D("event:/UI/mouse_enter_element"); if (Input.GetKey(Input.KeyCode.R)) Audio.PlayBGMOnce2D("event:/UI/mouse_exit_element"); if (Input.GetKey(Input.KeyCode.T)) Audio.PlayBGMOnce2D("event:/UI/success"); if (Input.GetKey(Input.KeyCode.Y)) Audio.PlayBGMOnce2D("event:/Raccoon/raccoon_throw"); if (Input.GetKey(Input.KeyCode.U)) Audio.PlayBGMOnce2D("event:/Props/impact_hard"); if (Input.GetKey(Input.KeyCode.I)) Audio.PlayBGMOnce2D("event:/Music/player_undetected"); if (Input.GetKey(Input.KeyCode.O)) Audio.PlayBGMOnce2D("event:/Music/player_detected"); if (Input.GetKey(Input.KeyCode.P)) Audio.PlayBGMOnce2D("event:/Music/stingers/player_detected"); if (Input.GetKey(Input.KeyCode.A)) Audio.PlayBGMOnce2D("event:/Music/stingers/item_scored"); if (Input.GetKey(Input.KeyCode.S)) Audio.PlayBGMOnce2D("event:/Homeowner/homeowner_humming"); if (Input.GetKey(Input.KeyCode.D)) Audio.PlayBGMOnce2D("event:/Homeowner/homeowner_footsteps"); if (Input.GetKey(Input.KeyCode.F)) Audio.PlayBGMOnce2D("event:/Homeowner/homeowner_detect_raccoon"); if (Input.GetKey(Input.KeyCode.G)) Audio.PlayBGMOnce2D("event:/Music/player_undetected"); if (Input.GetKey(Input.KeyCode.H)) Audio.PlayBGMOnce2D("event:/Raccoon/raccoon_footsteps"); if (Input.GetKey(Input.KeyCode.J)) Audio.PlayBGMOnce2D("event:/Props/impact_elastic"); } }