private void EnableHandSimulation() { if (handDataProvider == null) { handDataProvider = new SimulatedHandDataProvider(InputSimulationProfile); } }
private void EnableHandSimulation() { if (dataProvider == null) { DebugUtilities.LogVerbose("Creating a new hand simulation data provider"); dataProvider = new SimulatedHandDataProvider(InputSimulationProfile); } }
private void EnableHandSimulation() { if (handDataProvider == null) { handDataProvider = new SimulatedHandDataProvider(GetInputSimulationProfile()); handDataProvider.OnHandDataChanged += OnHandDataChanged; } }
private void DisableHandSimulation() { RemoveAllHandDevices(); if (handDataProvider != null) { handDataProvider = null; } }
private void DisableControllerSimulation() { RemoveAllControllerDevices(); if (dataProvider != null) { DebugUtilities.LogVerbose("Destroying the controller simulation data provider"); dataProvider = null; } }