Beispiel #1
0
    public GameObject GameOverPanel;           //selfexlplanatory

    private void Awake()
    {
        if (instance != null)
        {
            Destroy(this);
        }
        else
        {
            instance = this;
        }
    }
 // Use this for initialization
 void Start()
 {
     NotificationManager.CancelAll();
     Instance = this;
 }