Exemplo n.º 1
0
        public void MergeTexture(string path)
        {
            ImportedTexture texture = new ImportedTexture(path);

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