Exemplo n.º 1
0
    void Awake()
    {
        player = (IHitManager)GetComponent(typeof(IHitManager));

        health = new Stat(maxHealth, startingHealth);
        //stamina = new Stat(maxStamina, startingStamina);
    }
Exemplo n.º 2
0
    void Awake()
    {
        controller = (IHitManager)GetComponent(typeof(IHitManager));

        health = new Stat(mobHealth);
    }