public void Init(VRController vrController, SaberTrickManager saberTrickManager) { Controller = vrController; SaberTrickManager = saberTrickManager; enabled = true; }
private GlobalTrickManager( SiraLog logger, PluginConfig config, AudioTimeSyncController audioTimeSyncController, GameplayCoreSceneSetupData gameplayCoreSceneSetup, [Inject(Id = SaberType.SaberA)] SaberTrickManager leftTrickManager, [Inject(Id = SaberType.SaberB)] SaberTrickManager rightTrickManager, [InjectOptional] MultiplayerPlayersManager multiplayerPlayersManager) { _logger = logger; _config = config; _audioTimeSyncController = audioTimeSyncController; _iDifficultyBeatmap = gameplayCoreSceneSetup.difficultyBeatmap; _slowmoStepAmount = _config.SlowmoStepAmount; LeftSaberTrickManager = leftTrickManager; RightSaberTrickManager = rightTrickManager; _isMultiplayer = multiplayerPlayersManager != null; }