HoloFair SDK V4
  • 🛠️Welcome to HoloFair SDK
  • Development
    • ⚙️Initial Setup
      • Start Here
      • Setup Addressables
      • Updating HoloFair SDK in an existing project
      • Scenes & Layers
      • Portals
      • WorldSettings
      • Build & Upload Addressables
        • CloudFront
        • BunnyCDN
      • Pubish & Test your Metaverse
    • ⭐Features
      • Text
      • Respawn
      • Link
      • Image
      • Video
      • TalkZone
      • Emote
      • Timer
      • Add Force
      • Animated Objects
      • Special/VIP content
      • Localization
      • Timeline
      • Focus Point
      • REST API Integration
        • Serialized Variables
        • Smart String
      • Interaction Events
        • Use Cases for Interaction Events
      • Editing Values
      • Control Locker
    • ‼️Important
      • Format of 3D Assets
      • 🆔GUIDs
  • Guides
    • Custom User Authentication
Powered by GitBook
On this page
  1. Development
  2. Features

Editing Values

Changing the values of your Views at runtime inside of HoloFair.

PreviousUse Cases for Interaction EventsNextControl Locker

Last updated 2 years ago

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 , 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 . See the page to only have the Edit button available to users of your choice.

⭐
Special/VIP content
Interaction Events page
Uploading a video content
Editing a date value