예제 #1
0
 public void ClearPreview()
 {
     if (_previewObject != null)
     {
         _spawnManager.RecyleItem(_structureType, _previewObject);
     }
 }
예제 #2
0
 public void ClearPreview()
 {
     if (_previewObject != null)
     {
         _spawnManager.RecyleItem(AssetName, _previewObject);
     }
 }
예제 #3
0
 public void DisableHighlights()
 {
     if (_activeHighlights.Count != 0)
     {
         foreach (var highlight in _activeHighlights)
         {
             _spawnManager.RecyleItem(HighlightAsset, highlight);
         }
         _activeHighlights.Clear();
     }
 }