Class: PlayerInputPermissionCategoryChangeAfterEventSignal
Manages callbacks that are connected to after a players input permissions change.
Constructors
new PlayerInputPermissionCategoryChangeAfterEventSignal()
private
new PlayerInputPermissionCategoryChangeAfterEventSignal():PlayerInputPermissionCategoryChangeAfterEventSignal
Returns
PlayerInputPermissionCategoryChangeAfterEventSignal
Methods
subscribe()
subscribe(
callback
): (arg
) =>void
Parameters
Parameter | Type |
---|---|
callback | (arg ) => void |
Returns
Function
Parameters
Parameter | Type |
---|---|
arg | PlayerInputPermissionCategoryChangeAfterEvent |
Returns
void
Remarks
Adds a callback that will be called after a players input permissions change.
This function can't be called in read-only mode.
unsubscribe()
unsubscribe(
callback
):void
Parameters
Parameter | Type |
---|---|
callback | (arg ) => void |
Returns
void
Remarks
Removes a callback from being called after a players input permissions change.
This function can't be called in read-only mode.