예제 #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 get_isPlayOnwake(IntPtr l)
 {
     try {
         Lui.LMovieClip self = (Lui.LMovieClip)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.isPlayOnwake);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #3
0
 static public int loadTexture(IntPtr l)
 {
     try {
         Lui.LMovieClip self = (Lui.LMovieClip)checkSelf(l);
         self.loadTexture();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #4
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();
            }
        }
예제 #5
0
 static public int set_fps(IntPtr l)
 {
     try {
         Lui.LMovieClip self = (Lui.LMovieClip)checkSelf(l);
         System.Single  v;
         checkType(l, 2, out v);
         self.fps = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #6
0
 static public int set_isPlayOnwake(IntPtr l)
 {
     try {
         Lui.LMovieClip self = (Lui.LMovieClip)checkSelf(l);
         System.Boolean v;
         checkType(l, 2, out v);
         self.isPlayOnwake = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }