void OnDestroy()
 {
     if (!String.IsNullOrEmpty(PlacedObjectName))
     {
         SpatialUnderstandingDllObjectPlacement.Solver_RemoveObject(PlacedObjectName);
     }
 }
Beispiel #2
0
 public void DestroyObjects()
 {
     if (_init)
     {
         SpatialUnderstandingDllObjectPlacement.Solver_RemoveObject(Prefab.name);
     }
 }
 public void RemoveObject(string placementName)
 {
     SpatialUnderstandingDllObjectPlacement.Solver_RemoveObject(placementName);
 }