public static GameNotificationCenter GetInstance()
    {
        if (instance == null)
        {
            instance = new GameNotificationCenter();
        }

        return(instance);
    }
Пример #2
0
 protected override void DoResume()
 {
     GameNotificationCenter.GetInstance().OnResume();
 }
Пример #3
0
 protected override void DoPause()
 {
     GameNotificationCenter.GetInstance().OnPause();
 }