コード例 #1
0
 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));
     }
 }
コード例 #2
0
ファイル: LRichText.cs プロジェクト: tengontheway/uLui
        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();
            }
        }