Exemplo n.º 1
0
        protected override void DoPollMove()
        {
            if (null == MoveAction)
            {
                return;
            }

            Vector2 axes = MoveAction.ReadValue <Vector2>();

            // translate movement from x / y to x / z
            OnMove(new Vector3(axes.x, 0.0f, axes.y));
        }