void Start()
    {
        player      = GameObject.Find("Player");
        playerWrong = GameObject.Find("CrounchingPlayerPuzzleTotem");
        cam1        = GameObject.Find("Main Camera Main");
        cam2        = GameObject.Find("CameraEnigmeTotem");
        GSP         = GameObject.Find("GestionPartSelectionTotem").GetComponent <GestionSelectionParts>();

        MapAndInventory = GameObject.Find("ScriptManager");

        EndingTotemScript = GameObject.Find("EndGestionTotem").GetComponent <EndTotemEnigma>();

        playerWrong.SetActive(false);
        cam2.SetActive(false);
    }
Esempio n. 2
0
    void Start()
    {
        Trigger01 = GameObject.Find("TriggerForResolution01").GetComponent <TriggerSendingInfoTotem1>();
        Trigger02 = GameObject.Find("TriggerForResolution02").GetComponent <TriggerSendingInfoTotem2>();

        //TopOutLineTotem = GameObject.Find ("TopPartOutlineTotem");
        //MidOutLineTotem = GameObject.Find ("MiddlePartOutlineTotem");
        //DownOutLineTotem = GameObject.Find ("DownPartOutlineTotem");

        TopPartScript  = GameObject.Find("PartTopGestionTotem");
        MidPartScript  = GameObject.Find("PartMidGestionTotem");
        DownPartScript = GameObject.Find("PartDownGestionTotem");

        GSP = GameObject.Find("GestionPartSelectionTotem").GetComponent <GestionSelectionParts>();
    }