Beispiel #1
0
    public void destroySelf()
    {
        for (int i=teams.Count-1; i>=0; i++)
            teams[i].Dismiss();

        teams.Clear();
        Instance = null;
        Destroy(gameObject);
    }
Beispiel #2
0
 void Awake()
 {
     Instance = this;
 }