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