Beispiel #1
0
 void Ondestroy()
 {
     s_Sigleton = null;
 }
Beispiel #2
0
    // Use this for initialization

    void Awake()
    {
        s_Sigleton = this;
    }