static public int play(IntPtr l) { try { Lui.LFrameAnimation self = (Lui.LFrameAnimation)checkSelf(l); self.play(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
void makeFramAnim(GameObject anim, LRenderElement elem) { LFrameAnimation comFram = anim.GetComponent <LFrameAnimation>(); if (comFram != null) { comFram.path = elem.path; comFram.fps = elem.fs; comFram.loadTexture(); comFram.play(); } }