Example #1
0
File: Hit.cs Project: Nadjimi/Game
    void OnMouseDown()
    {
        GetComponent <Animator>().SetTrigger("Hit");

        GetComponent <HealthHelper>().GetHit(gameHelper.PlayerDamage);
        heroHelper.RunAttack();
    }