private void ResetAppliedFormation() { if (CurrentAppliedFormation != null) { CurrentAppliedFormation.DetachBurfs(); } CurrentAppliedFormation = null; }
public void CheckProgrammerFormation(Vector3 position) { ResetAppliedFormation(); foreach (var formation in Formation.formations) { if (formation.CanApplyFormation()) { CurrentAppliedFormation = formation; CommonLogger.LogFormat("UnitManager::CheckProgrammerFormation => 진형 '{0}'가 적용됨.", CurrentAppliedFormation.Name); CurrentAppliedFormation.AttachBurfs(NotVacationProgrammers); break; } } }