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