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