Пример #1
0
 public void SetFormationMode(FormationType formationType)
 {
     if (formationModeIndicator)
     {
         // uncomment the line below if needed
         formationModeIndicator.SetText(formationType == FormationType.Manual ? "Manual Formation" : "Auto Formation");
     }
 }
Пример #2
0
 public void SetEnemyCount(int count)
 {
     if (enemyCountIndicator)
     {
         // uncomment the line below if needed
         enemyCountIndicator.SetText("Enemy Count: " + count);
     }
 }
Пример #3
0
 public void SetAttackMode(bool isMulti)
 {
     if (attackModeIndicator)
     {
         attackModeIndicator.SetColor(isMulti ? Color.red : Color.green);
         attackModeIndicator.SetText(isMulti ? "Multi Attack" : "Single Attack");
     }
 }
 public void SetEnemyCount(int count)
 {
     if (enemyCountIndicator)
     {
         // uncomment the line below if needed
         // enemyCountIndicator.SetColor(isMulti ? Color.red : Color.green);
         enemyCountIndicator.SetText("Enemies: " + count);
     }
 }