Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Manages callbacks that are connected to after a players input permissions change.
Methods
subscribe
subscribe(callback: (arg0: PlayerInputPermissionCategoryChangeAfterEvent) => void): (arg0: PlayerInputPermissionCategoryChangeAfterEvent) => void
Adds a callback that will be called after a players input permissions change.
Parameters
- callback: (arg0: PlayerInputPermissionCategoryChangeAfterEvent) => void
Returns (arg0: PlayerInputPermissionCategoryChangeAfterEvent) => void
Notes:
- This function can't be called in restricted-execution mode.
- This function can be called in early-execution mode.
unsubscribe
unsubscribe(callback: (arg0: PlayerInputPermissionCategoryChangeAfterEvent) => void): void
Removes a callback from being called after a players input permissions change.
Parameters
- callback: (arg0: PlayerInputPermissionCategoryChangeAfterEvent) => void
Notes:
- This function can't be called in restricted-execution mode.
- This function can be called in early-execution mode.