示例#1
0
        void makeFramAnim(GameObject anim, LRenderElement elem)
        {
            LMovieClip comFram = anim.GetComponent <LMovieClip>();

            if (comFram != null)
            {
                comFram.path = elem.path;
                comFram.fps  = elem.fs;
                comFram.loadTexture();
                comFram.play();
            }
        }
示例#2
0
 static public int play(IntPtr l)
 {
     try {
         Lui.LMovieClip self = (Lui.LMovieClip)checkSelf(l);
         self.play();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
示例#3
0
        private void makeFramAnim(GameObject anim, LRenderElement elem)
        {
            LMovieClip component = anim.GetComponent <LMovieClip>();
            bool       flag      = component != null;

            if (flag)
            {
                component.path = elem.path;
                component.fps  = elem.fs;
                component.loadTexture();
                component.play();
            }
        }