Exemple #1
0
        //NOTE: Necessary for mobile joystick to work properly even if click doesn't start on world viewport
        public static void SetMouseOverControlToWorldViewport()
        {
            var worldViewportGump = (WorldViewportGump)Gumps.FirstOrDefault(gump => gump is WorldViewportGump);

            MouseOverControl = worldViewportGump?.Viewport;
        }