28 this->ConditionalBeginDestroy();
48 if (Manager && SensorPtr)
50 Manager->
Sensors.Add(SensorPtr);
58 if (Manager && SensorPtr)
60 Manager->
Sensors.Remove(SensorPtr);
72 TArray<ASensor*> SensorsOfType;
76 if (Sensor && Sensor->GetSensorType() == SensorType)
78 SensorsOfType.Add(Sensor);
static USensorManager * Instance
static USensorManager * Get()
FSensorDestroyedDelegate OnSensorDestroyed
static void AddSensor(ASensor *SensorPtr)
TArray< ASensor * > GetAllSensors()
TArray< ASensor * > Sensors
TArray< ASensor * > GetAllSensorsOfType(ESensorTypes SensorType)
FSensorSpawnedDelegate OnSensorSpawned
static void RemoveSensor(ASensor *SensorPtr)