public void onDoRangeAttackAnimation(BattleMonster aActionMonster) { aActionMonster.onSpawnAttack += onDoSpawnRangeAttack; aActionMonster.doAttackAnimation(this._currentItem); // Stick the camera to the closets opponent monters side camera mount /* */ }
private IEnumerator pauseToAttackAnimation(float aDelay,BattleMonster aActionMonster) { yield return new WaitForSeconds(aDelay); aActionMonster.doAttackAnimation(this._currentItem); this._currentItem.onMoveQueueItemChange += onMoveQueueItemChanged; this._currentItem.advanceMoveQueueFromState(EMoveQueueItemStatus.Start); }