// [Test] // public void Die() // { // Debug.Log("###### TEST 2 ######"); // } #region Action public AttackAction CreateAttackAction(BattleModel actor, BattleModel target, short style, bool isMoving, AnimeAction onHitAction) { AttackAction attackAction = new AttackAction(); attackAction.actor = actor; attackAction.style = style; attackAction.isMoving = isMoving; attackAction.targetPostion = target.GetHitPosition() + new Vector3(0, 0, -5); attackAction.onHitAction = onHitAction; return(attackAction); }