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

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