Quantcast
Channel: Questions in topic: "enemy"
Viewing all articles
Browse latest Browse all 1488

How to enemy animation attack player

$
0
0
hello how enemy attack player public bool attack = true; public bool attackRight = true; private Animator anim; public float attackTimer ; public float attackCd = 3; void Awake() { anim = gameObject.GetComponent(); } public void Attack (bool attacks) { attackTimer += Time.deltaTime; } ![alt text][1] [1]: /storage/temp/86880-16343544-1465117280187767-20757440-n.png

Viewing all articles
Browse latest Browse all 1488

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>