public void DrawOnScreen(SpriteBatch sb, double layer)
 {
     for (int i = 0; i < notifiers.Count; i++)
     {
         notifiers[i].Draw(sb, i);
     }
     GuiAchievements.Draw(sb);
 }
Beispiel #2
0
 void OnDestroy()
 {
     StopAllCoroutines();
     CancelInvoke();
     Instance = null;
 }
Beispiel #3
0
 void Awake()
 {
     Instance = this;
 }