Ejemplo n.º 1
0
    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);
    }
Ejemplo n.º 2
0
 private void OnEnable()
 {
     Scr_EventManager.StartListening("Mom_Comes", () => {
         if (m_Input != null)
         {
             m_Input.VibrateIncrease(0.1f, 0.3f, 5.0f);
         }
     });
 }