示例#1
0
 public static CozyAnimationFrame Create(string path, float delayUnits)
 {
     var texture = CozyDirector.Instance.TextureCacheInstance.AddImage(path);
     var animate = new CozyAnimationFrame();
     animate.InitWithTexture(texture, delayUnits);
     return animate;
 }
示例#2
0
        public static CozyAnimationFrame Create(CozyTexture texture, float delayUnits)
        {
            var animate = new CozyAnimationFrame();

            animate.InitWithTexture(texture, delayUnits);
            return(animate);
        }
示例#3
0
        public static CozyAnimationFrame Create(string path, float delayUnits)
        {
            var texture = CozyDirector.Instance.TextureCacheInstance.AddImage(path);
            var animate = new CozyAnimationFrame();

            animate.InitWithTexture(texture, delayUnits);
            return(animate);
        }
示例#4
0
 public static CozyAnimationFrame Create(CozyTexture texture, float delayUnits)
 {
     var animate = new CozyAnimationFrame();
     animate.InitWithTexture(texture, delayUnits);
     return animate;
 }