コード例 #1
0
 void Start()
 {
     // get variables we need
     nvs    = GetComponent("networkVariables") as networkVariables;
     myInfo = nvs.myInfo;
     pause  = GetComponent("netPause") as netPause;
 }
コード例 #2
0
 void Start()
 {
     // get variables we need
     nvs    = GetComponent("networkVariables") as networkVariables;
     myInfo = nvs.myInfo;
     pause  = GetComponent("netPause") as netPause;
     GameObject.Find("lobby_view").transform.FindChild("camera").gameObject.SetActive(false);
     myInfo.cartContainerObject.transform.FindChild("multi_buggy_cam").gameObject.SetActive(true);
 }
コード例 #3
0
 void Start()
 {
     // get variables we need
     nvs = GetComponent("networkVariables") as networkVariables;
     myInfo = nvs.myInfo;
     pause = GetComponent ("netPause") as netPause;
 }
コード例 #4
0
 void Start()
 {
     // get variables we need
     nvs = GetComponent("networkVariables") as networkVariables;
     myInfo = nvs.myInfo;
     pause = GetComponent ("netPause") as netPause;
     // change camera
     //GameObject.Find ("lobby_view").transform.FindChild ("camera").gameObject.SetActive (false);
     //myInfo.cartContainerObject.transform.FindChild ("multi_buggy_cam").gameObject.SetActive (true);
 }