Ejemplo n.º 1
0
    }                                                          //fixedUpdate次数
    void Awake()
    {
        LoggerHandler.Init();
        LoggerNet.StartNetService();

        Debugger.Instance.Init();

        DontDestroyOnLoad(this);
        GameSystem.Instance.mEngineFramework = this;
        GameSystem.Instance.Start();
        Screen.sleepTimeout = SleepTimeout.NeverSleep;
    }
Ejemplo n.º 2
0
        public void Job()
        {
            LoggerHandler.Init(new[] { (Action <string>)Console.WriteLine }, "" /*GetAvailableLogFilename(logFilePath)*/,
                               minLogLevel: LogLevel.Warn);
            _chat = new ChatClient(settings.TcpServerIp, 10240, "raspberry", "parola01");
            _piHW = new RaspberryHardware(settings.PwmPeriod, settings.PwmHighDuration, settings.LinesToSkip);

            BindEvents();

            _chat.Connect();
            _piHW.Start();

            _working = true;
            while (_working)
            {
                Console.Write("&:");
                var line = Console.ReadLine();
                ProcessCommand(line);
            }
        }
Ejemplo n.º 3
0
        static void Main(string[] args)
        {
            LoggerHandler.Init(new[] { (Action <string>)Console.WriteLine }, "" /*GetAvailableLogFilename(logFilePath)*/,
                               minLogLevel: LogLevel.Warn);
            CheckAndCopyKinectFusionSDKLibrary();
            //new Object3D().IgnoreLowerPoints(@"D:\Projects\OC\test\MeshedReconstruction.ply");
            //return;

            bool a = true;

            if (a)
            {
                kinect = new Kinect();
                kinect.Start();
                Console.WriteLine("kinect started");
                Loop();
            }
            else
            {
                KinectLibrary.Program1.Main(null);
            }
        }