Skip to content
This repository has been archived by the owner on Jul 16, 2020. It is now read-only.

Label Control

Gersh Payzer edited this page Apr 3, 2018 · 1 revision

A label can be useful if you have a description, heading or instructions for your interactive controls. You don't need to write any code if your label is static text that never changes. However, if you want to change the text from your game, you can do that.

Here is code that sets the text of the label control to "Hello World":

        InteractiveLabelControl label = MixerInteractive.GetControl("myLabel") as InteractiveLabelControl;
        label.SetText("Hello World!");
Clone this wiki locally