예제 #1
0
        public static Light add_light(int no)
        {
            //no:0~8
            var objctrl = AddObjectLight.Add(no);

            return(new Light(objctrl));
        }
            private static bool Studio_AddLight(Studio.Studio __instance, int _no)
            {
                if (IsStudio)
                {
                    return(true);
                }
                if (!__instance.sceneInfo.isLightCheck)
                {
                    return(true);
                }

                AddObjectLight.Add(_no);
                Singleton <UndoRedoManager> .Instance.Clear();

                return(false);
            }
예제 #3
0
            public void Do()
            {
                OCILight ociLight = AddObjectLight.Load(new OILightInfo(this.no, this.dicKey), (ObjectCtrlInfo)null, (TreeNodeObject)null, true, this.initialPosition);

                this.tno = ociLight == null ? (TreeNodeObject)null : ociLight.treeNodeObject;
            }