Esempio n. 1
0
 override public void QueryResources()
 {
     if (unityImage.sprite)
     {
         JESprite.RegisterSprite(unityImage.sprite);
     }
 }
Esempio n. 2
0
 public static void PostProcess()
 {
     JETexture.PostProcess();
     JEShader.PostProcess();
     JEMaterial.PostProcess();
     JELightmap.PostProcess();
     JEMesh.PostProcess();
     JESprite.PostProcess();
     JEParticle.PostProcess();
 }
Esempio n. 3
0
 public static void Reset()
 {
     JEMesh.Reset();
     JEMaterial.Reset();
     JETexture.Reset();
     JEShader.Reset();
     JELightmap.Reset();
     JESprite.Reset();
     JEParticle.Reset();
 }
Esempio n. 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]);
         }
     }
 }
Esempio n. 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);
        }