Exemple #1
0
 override public void QueryResources()
 {
     if (unityImage.sprite)
     {
         JESprite.RegisterSprite(unityImage.sprite);
     }
 }
Exemple #2
0
 public static void PostProcess()
 {
     JETexture.PostProcess();
     JEShader.PostProcess();
     JEMaterial.PostProcess();
     JELightmap.PostProcess();
     JEMesh.PostProcess();
     JESprite.PostProcess();
     JEParticle.PostProcess();
 }
Exemple #3
0
 public static void Reset()
 {
     JEMesh.Reset();
     JEMaterial.Reset();
     JETexture.Reset();
     JEShader.Reset();
     JELightmap.Reset();
     JESprite.Reset();
     JEParticle.Reset();
 }
Exemple #4
0
 override public void QueryResources()
 {
     // register each sprite frame
     if (unityImage.frames.Count > 0)
     {
         for (int f = 0; f < unityImage.frames.Count; f++)
         {
             JESprite.RegisterSprite(unityImage.frames[f]);
         }
     }
 }
Exemple #5
0
        public static JSONResources GenerateJSONResources()
        {
            var json = new JSONResources();

            /*            json.textures = JETexture.GenerateJSONTextureList();
             *          json.lightmaps = JELightmap.GenerateJSONLightmapList();
             *          json.shaders = JEShader.GenerateJSONShaderList();
             *          json.materials = JEMaterial.GenerateJSONMaterialList();
             *          json.meshes = JEMesh.GenerateJSONMeshList();
             */
            json.sprites   = JESprite.GenerateJSONSpriteList();
            json.particles = JEParticle.GenerateJSONParticleList();

            return(json);
        }