Table of Contents

Class ButtonEntry

Namespace
JLChnToZ.VRC.VVMW

A button entry that can be localized.

[BindEvent(typeof(Button), "onClick", "_OnClick")]
public class ButtonEntry : UdonSharpBehaviour
Inheritance
ButtonEntry
Extension Methods

Fields

callbackEventName

The event name to call on the callback target.

[LocalizedLabelAttribute]
public string callbackEventName

Field Value

string

callbackTarget

The callback target for the button.

[LocalizedLabelAttribute]
public UdonSharpBehaviour callbackTarget

Field Value

UdonSharpBehaviour

callbackUserData

The custom data to pass to the callback target. Which will be set to the variable with the name of callbackVariableName.

[LocalizedLabelAttribute]
public object callbackUserData

Field Value

object

callbackVariableName

The variable name to set on the callback target.

[LocalizedLabelAttribute]
public string callbackVariableName

Field Value

string

Properties

Args

The arguments for the localized text.

public object[] Args { get; set; }

Property Value

object[]

Key

The key for the localized text.

public string Key { get; set; }

Property Value

string

LanguageManager

The LanguageManager to use for localization.

public LanguageManager LanguageManager { get; set; }

Property Value

LanguageManager

Text

The localized text.

public string Text { get; }

Property Value

string

Methods

_OnClick()

Callback entry point for the button.

public void _OnClick()