Example #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;
 }
Example #2
0
        public static CozyAnimationFrame Create(CozyTexture texture, float delayUnits)
        {
            var animate = new CozyAnimationFrame();

            animate.InitWithTexture(texture, delayUnits);
            return(animate);
        }
Example #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);
        }
Example #4
0
 public static CozyAnimationFrame Create(CozyTexture texture, float delayUnits)
 {
     var animate = new CozyAnimationFrame();
     animate.InitWithTexture(texture, delayUnits);
     return animate;
 }