public void MergeTexture(string path) { ImportedTexture texture = new ImportedTexture(path); Operations.ReplaceTexture(Parser, texture); Changed = true; }
public static void ReplaceTexture(UnityParser parser, ImportedTexture texture) { if (!Operations.ReplaceTexture(parser, texture, false)) { throw new Exception("Texture " + texture.Name + " not present"); } }
public static void MergeTexture(UnityParser parser, ImportedTexture texture) { Operations.ReplaceTexture(parser, texture); }