Beispiel #1
0
 void Awake()
 {
     if (s_Instance == null)
     {
         s_Instance = this;
     }
     DontDestroyOnLoad(this);
 }
Beispiel #2
0
 void Awake()
 {
     if (s_Instance == null)
     {
         s_Instance = this;
     }
     DontDestroyOnLoad(this);
 }