Ejemplo n.º 1
0
    //  singleton stuff

    void Start()
    {
        biffedGUI.text = biffed.ToString();
        playerSwordz   = player.GetComponent <SwordzPlayer>();

        if (demoMode)
        {
            audio.Stop();
            player.maxHealth = 999999;
            player.AddHealth(999999);
        }
    }
Ejemplo n.º 2
0
    //  singleton stuff
    void Start()
    {
        biffedGUI.text = biffed.ToString();
        playerSwordz = player.GetComponent<SwordzPlayer>();

        if(demoMode)
        {
            audio.Stop();
            player.maxHealth = 999999;
            player.AddHealth(999999);
        }
    }