protected override void Initialize()
        {
            _playerInfo = base.Entity.Get<CPlayerInfo>();
            _weapon = base.Entity.Get<CWeapon>();
            _movementThumbstick = this.EntityWorld.FindEntityByName(EntityNames.MovementThumbStick).Get<CVirtualThumbstick>().Thumbstick;
            _rotationThumbstick = this.EntityWorld.FindEntityByName(EntityNames.RotationThumbStick).Get<CVirtualThumbstick>().Thumbstick;

            _boosterState = this.EntityWorld.Services.Get<IBoosterState>();
            _playerPassiveStats = this.EntityWorld.Services.Get<IPlayerPassiveStats>();
        }
 private void CreateThumbsticks(out VirtualThumbstick movementThumbstick, out VirtualThumbstick rotationThumbstick)
 {
     SkypieaSettingsManager settingsManager = FlaiGame.Current.Services.Get<SkypieaSettingsManager>();
     Size screenSize = FlaiGame.Current.ScreenSize;
     if (settingsManager.Settings.ThumbstickStyle == ThumbstickStyle.Fixed)
     {
         const float OffsetFromBorder = 0;
         movementThumbstick = VirtualThumbstick.CreateFixed(new Vector2(120f + OffsetFromBorder, screenSize.Height - 120f - OffsetFromBorder), 84f);
         rotationThumbstick = VirtualThumbstick.CreateFixed(new Vector2(screenSize.Width - 120f - OffsetFromBorder, screenSize.Height - 120f - OffsetFromBorder), 84f);
     }
     else
     {
         const float OffsetFromTop = 80;
         movementThumbstick = VirtualThumbstick.CreateRelative(new RectangleF(0, OffsetFromTop, screenSize.Width / 2f, screenSize.Height - OffsetFromTop));
         rotationThumbstick = VirtualThumbstick.CreateRelative(new RectangleF(screenSize.Width / 2f, OffsetFromTop, screenSize.Width / 2f, screenSize.Height - OffsetFromTop));
     }
 }