Ejemplo n.º 1
0
        void Start()
        {
            cameraSensitivity = DataLoad().cameraSensitivity;
            gridParent        = gameObject.GetComponent <levelManager>();
            camPivot          = GameObject.Find("cameraPivot");
            newRot            = camPivot.transform.rotation.eulerAngles;


            padMarker = GameObject.Find("selector");

            padMarker.SetActive(false);

            pause_bg = GameObject.Find("pause_bg");
            pause_bg.SetActive(false);

            minionPointer = GameObject.Find("minionPointer");
            minionPointer.SetActive(false);

            stepPad = GameObject.Find("minionStep");
            stepPad.SetActive(false);

            pauseMenu = GameObject.Find("pausemenu");
            pauseMenu.SetActive(false);

            toolHighlight = GameObject.Find("toolHighlight");
            toolHighlight.SetActive(false);

            victoryMenu = GameObject.Find("victoryScreen");
            victoryMenu.SetActive(false);
        }
Ejemplo n.º 2
0
 void Start()
 {
     currTimer = checkDelay;
     bData     = gameObject.GetComponent <blockData>();
     if (GameObject.Find("levelManager") != null)
     {
         lManage = GameObject.Find("levelManager").GetComponent <levelManager>();
     }
 }
Ejemplo n.º 3
0
 void Start()
 {
     currTimer = flowDelay;
     bData     = gameObject.GetComponent <blockData>();
     lManage   = GameObject.Find("levelManager").GetComponent <levelManager>();
 }