Пример #1
0
        public CustomShellType(Basic basicSetting,
                               MainCode mainCodeSetting)
        {
            _shellTypeName   = basicSetting.ShellTypeName;
            _basicSetting    = basicSetting;
            _mainCodeSetting = mainCodeSetting;

            //初始化方法树
            _funcTreeRoot = new FuncTreeNode(_shellTypeName);
        }
Пример #2
0
        public CustomShellType(Basic basicSetting,
                               MainCode mainCodeSetting)
        {
            _shellTypeName = basicSetting.ShellTypeName;
            _basicSetting = basicSetting;
            _mainCodeSetting = mainCodeSetting;

            //初始化方法树
            _funcTreeRoot = new FuncTreeNode(_shellTypeName);
        }
Пример #3
0
 public void OnEnable()
 {
     _main = (MainCode)FindObjectOfType(typeof(MainCode));
     _t_main = target as MainCode;
 }
Пример #4
0
 public MainCode()
 {
     pThis = this;
 }
        private static void MainVoid()
        {
            var form = new MainCode();

            form.Show();
        }