示例#1
0
        public override void OnSyncedUpdate()
        {
            _mousePosition.x = TrueSyncInput.GetFP(MOUSE_X);
            _mousePosition.z = TrueSyncInput.GetFP(MOUSE_Y);


            _mouseClicked = TrueSyncInput.GetBool(MOUSE_CLICK);
            _keyPressed   = TrueSyncInput.GetString(KEY_PRESS);

            StepRunning();
        }