Exemplo n.º 1
0
    private void Start()
    {
        ResetDamageTimer();

        anim        = GetComponent <Animator>();
        playerInput = GameObject.Find("New Player").GetComponent <Scr_PlayerInput>();

        healthSlider.maxValue = health;
    }
Exemplo n.º 2
0
 void Start()
 {
     inputScr = GetComponent <Scr_PlayerInput>();
 }