In the development of our Final Year Project game, Cyberstryke. The logics and animations are separated and are controlled by booleans, e.g. bool isAttack for processing the attack logic and bool isPlayAttackAnim for playing the attack animations.
However, one of my senior, Desmond Pang, pointed out that the attack logics can be embedded into the animations using AnimNotifier States. Through this process, we can minimize the amount of booleans used and ultimately time the attack correctly.
Credits to Desmond Pang. Thank you for pointing out this.
Comments