public string GetAssetNameForStructureType(StructureDefinition.StructureType type) { return(GetDefinitionForType(type).Asset); }
public void SpawnPreviewModel(StructureDefinition.StructureType type, Vector3 position, bool valid, SpawnCallback callback) { SpawnPreviewModel(_structureDefinitionManager.GetAssetNameForStructureType(type), position, valid, callback); }
public IPlacementResult CanPlace(Coord coord, StructureDefinition.StructureType type) { return(GetDefinitionForType(type).CanPlace(coord)); }
public void RecyleItem(StructureDefinition.StructureType type, GameObject gameObject) { RecyleItem(type.ToString(), gameObject); }