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