// Use this for initialization void Start() { MapGameObject = GameObject.Find("CameraMap"); ImageMapSmall = GameObject.Find("ImageMapSmall"); ImageMapZoneSmall = GameObject.Find("ImageMapZoneSmall"); ImageMapVillage = GameObject.Find("ImageMapVillage"); ImageMapZoneVillage = GameObject.Find("ImageMapZoneVillage"); ImageMapSmall.SetActive(false); ImageMapZoneSmall.SetActive(false); ImageMapVillage.SetActive(false); ImageMapZoneVillage.SetActive(false); MapGameObject.SetActive(false); BigArea = GameObject.Find("SphereVillage"); SmallArea = GameObject.Find("SphereSmall"); SmallArea.SetActive(false); BigArea.SetActive(false); ZG = GameObject.Find("ScriptManager").GetComponent <ZoneGestion> (); OCB = GameObject.Find("ScriptManager").GetComponent <OpenCloseBook> (); canvasMainCamera = GameObject.Find("Canvas Book Notification MainCamera"); }
// Use this for initialization void Start() { ScanningPanel = GameObject.Find("Scanning"); ScanningPanel.SetActive(false); OCB = GameObject.Find("ScriptManager").GetComponent <OpenCloseBook> (); ZG = GameObject.Find("ScriptManager").GetComponent <ZoneGestion> (); cubeOnAss = GameObject.Find("ArtefactOnAss"); }
void Start() { rend = GetComponent <Renderer> (); ZG = GameObject.Find("ScriptManager").GetComponent <ZoneGestion> (); StartCoroutine("ColorChange"); }
// Use this for initialization void Start() { ZG = GameObject.Find("ScriptManager").GetComponent <ZoneGestion> (); }