void Start() { // get variables we need nvs = GetComponent("networkVariables") as networkVariables; myInfo = nvs.myInfo; pause = GetComponent("netPause") as netPause; }
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); }
void Start() { // get variables we need nvs = GetComponent("networkVariables") as networkVariables; myInfo = nvs.myInfo; pause = GetComponent ("netPause") as netPause; }
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); }