예제 #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);
 }