Beispiel #1
0
    void Start()
    {
        cm = GetComponent <commandManagement>();

        isDead     = false;
        health     = startingHealth;
        currAir    = fullAir;
        invinsible = false;

        //starts at neutral pose
        pose = 'N';

        /*  poses will include
         *  neutral = 'N'
         *  triangle = 'T'
         *  rectangle = 'R'
         *  elipse = 'E'
         */

        nLight.SetActive(true);
        redT.SetActive(false);
        greenR.SetActive(false);
        blueE.SetActive(false);

        evadeTimer = 0.0f;
        evaded     = true;
    }
Beispiel #2
0
    void Start()
    {
        pm = player.GetComponent <playerManager>();
        cm = player.GetComponent <commandManagement>();

        vicScreen.SetActive(false);
        enHealth = maxEnHealth;
    }
Beispiel #3
0
 void Start()
 {
     pm    = gameObject.GetComponent <playerManager>();
     cm    = GetComponent <commandManagement>();
     timer = maxTime;
 }