// ユニットの攻撃 public void Attack1() { if (!skillCollTime1) { if (unitController.GetPlayerStatus != UnitController.PlayerStatus.Attack) { if (statusController.Get_MP >= 10.0f) { unitController.GetPlayerStatus = UnitController.PlayerStatus.Attack; unitMove.Stop(); unitAnimator.Attak1_Skill(); statusController.SetMP(5f); skillaicon.color = Color.black; } } elapseTime[0] = 0f; skillCollTime1 = true; } else { return; } }