示例#1
0
        public void MergeTexture(string path)
        {
            ImportedTexture texture = new ImportedTexture(path);

            Operations.ReplaceTexture(Parser, texture);
            Changed = true;
        }
示例#2
0
文件: Unity3d.cs 项目: kkdevs/sb3u
 public static void ReplaceTexture(UnityParser parser, ImportedTexture texture)
 {
     if (!Operations.ReplaceTexture(parser, texture, false))
     {
         throw new Exception("Texture " + texture.Name + " not present");
     }
 }
示例#3
0
 public static void MergeTexture(UnityParser parser, ImportedTexture texture)
 {
     Operations.ReplaceTexture(parser, texture);
 }