Class ButtonEntry
A button entry that can be localized.
public class ButtonEntry : UdonSharpBehaviour
- Inheritance
-
ButtonEntry
Fields
callbackEventName
The event name to call on the callback target.
public string callbackEventName
Field Value
callbackTarget
The callback target for the button.
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.
public object callbackUserData
Field Value
callbackVariableName
The variable name to set on the callback target.
public string callbackVariableName
Field Value
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
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
Methods
_OnClick()
Callback entry point for the button.
public void _OnClick()