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