Esempio n. 1
0
 public void FixedUpdate()
 {
     if (Input.GetKeyDown("c") || Input.touchCount == 5)
     {
         ConsoleShow.SetActive(true);
     }
 }
Esempio n. 2
0
        public CtrlForm()
        {
            start = DateTime.Now;

            //MessageBox.Show("4");
            InitializeComponent();

            CheckForIllegalCrossThreadCalls = false;

            childPtr = new List <IntPtr>();

            this.paList       = new List <ProcessArgs>();
            this.procDoneNum  = 0;
            this.procDoneNum1 = 0;
            maxProcNum        = 2;
            //this.procStartNum = 0;
            //this.mutex = new Mutex();
            msgList = new List <Message>();
            this.MultiTasksGridStrengths = new List <GridStrength>();
            this.MultiTasksReRay         = new List <MMFReRayStruct>(); // 2019.5.22

            string[] args = System.Environment.GetCommandLineArgs();
            if (dealParams(args))
            {
                //MessageBox.Show("5");
                cs = new ConsoleShow();
                this.startChildPro();
                //MessageBox.Show("6");
            }
            else
            {
                System.Environment.Exit(0);
            }
        }