예제 #1
0
        public static SpriteAni CreateAni(Sprite sprite,string ani,Texture.TextureMgr tmgr,string texpath="")
        {
            string hash = sprite.name + "|" + ani;

            if (bufs.ContainsKey(hash) == false)
            {
                bufs[hash]= SpriteAni.CreateAni(sprite.anims[ani],tmgr,texpath);
            }

            return bufs[hash];
        }
예제 #2
0
 public ProjParser(ILogger _logger, string respath, Sprite sprite)
 {
     logger = _logger;
     resourcepath = respath;
     cursprite = sprite;
 }