static public int loadTexture(IntPtr l)
 {
     try {
         Lui.LFrameAnimation self = (Lui.LFrameAnimation)checkSelf(l);
         self.loadTexture();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #2
0
        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();
            }
        }