コード例 #1
0
    // 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");
    }
コード例 #2
0
ファイル: DropCube.cs プロジェクト: AntoineFauville/Research
 // 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");
 }
コード例 #3
0
 void Start()
 {
     rend = GetComponent <Renderer> ();
     ZG   = GameObject.Find("ScriptManager").GetComponent <ZoneGestion> ();
     StartCoroutine("ColorChange");
 }
コード例 #4
0
 // Use this for initialization
 void Start()
 {
     ZG = GameObject.Find("ScriptManager").GetComponent <ZoneGestion> ();
 }