public IEnumerator StartSpawningRobots(RobotSettings robot) { while (true) { yield return(new WaitForSeconds(robot.spawnRate)); this.pooler.SpawnFromPool(robot.tag, this.spawnPoint.position, Quaternion.identity); } }
/// <summary> /// Default constructor /// </summary> public MainPage() { InitializeComponent(); aboutView = new About(); robotTelemetryView = new RobotTelemetry(); settingsView = new Settings(); robotSettingsView = new RobotSettings(); // Initial View mainViewArea.Content = robotTelemetryView; }
/// <summary> /// Specifies the time controller is being polled for data. /// </summary> public AbstractController() { controllerSettings = ControllerSettings.Instance; robotSettings = RobotSettings.Instance; isNotReserved = true; }