Esempio n. 1
0
 void OnPreRewiredControllerDisconnect(RE.ControllerStatusChangedEventArgs obj)
 {
     RE.ReInput.players.SystemPlayer.controllers.RemoveController(obj.controllerType, obj.controllerId);
 }
Esempio n. 2
0
 void OnRewiredControllerConnected(RE.ControllerStatusChangedEventArgs obj)
 {
     RE.ReInput.players.SystemPlayer.controllers.AddController(obj.controllerType, obj.controllerId, removeFromOtherPlayers: false);
 }