Beispiel #1
0
 private void spawnUnits(int numberOfUnits, EMERGENCY_TYPE type, Vector3 targetPosition)
 {
     for (int i = 0; i < numberOfUnits; i++)
     {
         spawnUnit(type, targetPosition);
     }
     EmergencyDispatch.Report(UNIT_STATUS.AWAITING_SPAWN, null, emergencyId);
 }
Beispiel #2
0
 void Start()
 {
     EmergencyDispatch.instance = this;
     PubSub.subscribe("Report:majorCrash", this);
 }