Component image File:SessionPermissionControllerComponent.pngSession Permission Controller component as seen in the Scene Inspector
The SessionPermissionController component is used to change the roles or view the roles of a specific user in the current session.
Fields
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't. |
_name
|
Text | The text element showing the name of the user this belongs to. |
_rolesButtons
|
list of Button | A list of button elements used to assign the user this belongs to to a role. |
Sync Delegates
Method Name | Method type and Arguments. | Is the method hidden? | Description |
---|---|---|---|
SetRole:ButtonEventHandler`1<Int>
|
ButtonEventHandler`1<Int> | ✓ | Called when one of the _rolesButtons are touched.
|
Usage
Not to be used directly by the user.
Examples
Is used in the session tab in the dash.