Exemplo n.º 1
0
 void Start()
 {
     instance = this;
     userId   = UserDetailsManager.userId;
     userName = UserDetailsManager.userName;
     //Debug.Log("Player: " + gameObject.name);
 }
Exemplo n.º 2
0
 void OnDestroy()
 {
     instance = null;
 }