Esempio n. 1
0
 // Use this for initialization
 void Start()
 {
     UserMenu    = this.transform.parent.GetChild(3).gameObject.GetComponent <UserMenuScript>(); // user A
     UserBScript = userB.GetComponent <userBScript>();                                           // user B
     //Debug.Log(UserBScript.name);
 }
Esempio n. 2
0
 // Use this for initialization
 void Start()
 {
     UserMenu = this.transform.parent.GetChild(3).gameObject.GetComponent <UserMenuScript>();
 }