private SetDefaultTextures ( string name, |
||
name | string | |
textures | ||
return | void |
public extern void SetDefaultTextures(string[] name, Texture[] textures);
}
internal override void Apply() { base.Apply(); ShaderImporter target = base.target as ShaderImporter; if (target != null) { target.SetDefaultTextures(this.propertyNames.ToArray(), this.textures.ToArray()); AssetDatabase.ImportAsset(AssetDatabase.GetAssetPath(target)); } }