private void RefreshGenerator() { if (Application.isPlaying) { generator.generationMethod(); } }
public void SetTextureGenerationType(string mainGenerationType, string subGenerationType) { foreach (TextureGenerationType type in typesList) { if (type.mainType == mainGenerationType && type.subType == subGenerationType) { generator.generationMethod = type.generationMethod; generator.generationMethod(); } } }