Inheritance: PantoHandle
Ejemplo n.º 1
0
        void Start()
        {
            upperHandle = GetComponent <UpperHandle>();
            lowerHandle = GetComponent <LowerHandle>();
            lineDraw    = GameObject.Find("Panto").GetComponent <LineDraw>();
            Debug.Log("Before Introduction");
            speechIn.StartListening(keywords.Keys.ToArray());


            level1 = GameObject.Find("Level1");
            level1.SetActive(false);

            level2 = GameObject.Find("Level2");
            level2.SetActive(false);

            level4 = GameObject.Find("Level4");
            level4.SetActive(false);

            RegisterColliders();
            if (levelMode)
            {
                Debug.Log(levelMode);
                Levels();
            }
            else
            {
                lineDraw.canDraw = true;
            }
        }
Ejemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     upperHandle   = GameObject.Find("Panto").GetComponent <UpperHandle>();
     lowerHandle   = GameObject.Find("Panto").GetComponent <LowerHandle>();
     upperRotation = upperHandle.GetRotation();
     gameManager   = GameObject.Find("Panto").GetComponent <GameManager>();
     audio         = GameObject.Find("Panto").GetComponent <Audio>();
 }
    void Start()
    {
        _upperHandle = GetComponent <UpperHandle>();
        _lowerHandle = GetComponent <LowerHandle>();

        uiManager.UpdateUI(_playerScore, _enemyScore);

        Introduction();
    }
Ejemplo n.º 4
0
 public void RegisterLowerHandle(LowerHandle newHandle)
 {
     lowerHandle = newHandle;
 }