private void OnEnable() { Scr_EventManager.StartListening("Update_Scores", UpdateScoreUI); Scr_EventManager.StartListening("PowerupUpdate", UpdatePowerupIcons); Scr_EventManager.StartListening("Mom_Comes", ShowMomTimer); Scr_EventManager.StartListening("Mom_In_Room", ResetMomTimer); }
private void OnEnable() { Scr_EventManager.StartListening("Mom_Comes", () => { if (m_Input != null) { m_Input.VibrateIncrease(0.1f, 0.3f, 5.0f); } }); }