예제 #1
0
    private void Start()
    {
        ResetDamageTimer();

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

        healthSlider.maxValue = health;
    }
예제 #2
0
 void Start()
 {
     inputScr = GetComponent <Scr_PlayerInput>();
 }