Update() public method

public Update ( ) : void
return void
Exemplo n.º 1
0
    public void Update()
    {
        if (count == 0)
        {
            temp = Player.Update();
        }


        if (temp)
        {
            Die();
            temp  = false;
            count = 1;
            //fade.SetBool("death", true);
            //PlanesSpawner.SetActive(false);
            //FlakSpawner.SetActive(false); ;
            //AITurret1.SetActive(false);
            //AITurret2.SetActive(false);
            //StopAllAudio();
            //die.Play();
        }
    }