示例#1
0
        public virtual void PointerWheelChanged(Vector2 deltaValue, GameTime gameTime)
        {
            bool res = UIWindowManager.PointerWheelChanged(deltaValue, gameTime);

            if (res == false)
            {
                // Event was not handled by UI
                res = CurrentController?.PointerWheelChanged(deltaValue) ?? false;
                if (res == false)
                {
                    CurrentCamera?.PointerWheelChanged(deltaValue);
                }
            }
        }