Editing Values
Changing the values of your Views at runtime inside of HoloFair.
Some of the views in have a value of a ceratain type that determines how they behave.
Here is a table of the views, types of the value, and what they do.
View | Type | Behaviour |
---|---|---|
TextMeshPro | String | Text to be displayed on the TextMeshPro object. |
Respawn | Double | The radius of the random respawn area. |
Link | String | The URL of the link that will be opened. |
Image | String | The URL of the image that will be loaded. |
Video | String | The URL of the video that will be played. |
TalkZone | String | The room name that the user will be connected to. |
Emote | String | The name of the emote to be played. See Emote for a comprehensive list. |
Timer | String | Comma-seperated value of two doubles. |
UserGroup | String | Comma-seperated values of ints. |
UuidView | String | UUID of the user. |
AddForce | Double | Magnitude of the force applied. |
Animator | String | Name of the animation to be played. |
You may edit these values at runtime in HoloFair and have it syncronously delivered to all users within your Metaverse. This can be achieve by using the Edit function within all of these Views.
Firstly, you will need to setup interactive buttons within your project to call this Edit function. Following the Interaction Events page, you can setup an interactable button that can be access from HoloFair. See the images below on how its set up.
This opens an edit window inside of HoloFair which looks like this:
Depending on the type of view, you may upload files, select dates, etc.
However, we do not want all users to have access to these privileges. Therefore, we can gate these buttons via Special/VIP content. See the page to only have the Edit button available to users of your choice.
Last updated