예제 #1
0
        public override void Initialize()
        {
            base.Initialize();

            input = Services.GetService <InputManager>();
            input.TextInput?.EnabledTextInput();

            graphicsDeviceService = Services.GetService <IGraphicsDeviceService>();
        }
예제 #2
0
        internal static void Initialize(StrideInputManager input)
        {
            if (!initialized)
            {
                initialized = true;

                // Setup the engine's input manager ref
                StrideInputManager = input;
            }
        }
예제 #3
0
 private IGamePadDevice GetGamePad(InputManager manager)
 {
     return(PadIndex >= 0 ? manager.GetGamePadByIndex(PadIndex) : manager.DefaultGamePad);
 }
예제 #4
0
 public override void Initialize(InputManager inputManager)
 {
 }