Skip to content

Template

Functions

Function Name Usage Description Notes
Find Template Template.Find(string name) Find a Template in the world by name. Returns nil if not found. Alternative to World:FindTemplate()
FindScriptProperty object templateAsset:FindScriptProperty(string propertyName)
FindScriptProperties Properties templateAsset:FindScriptProperties(string scriptName)
FindScriptProperties Properties templateAsset:FindScriptProperties(ScriptAsset script)
FindAllScriptProperties table templateAsset:FindAllScriptProperties(string scriptName)
FindAllScriptProperties table templateAsset:FindAllScriptProperties(ScriptAsset script)
FindWidgetProperty object templateAsset:FindWidgetProperty(string propertyName) Get the value of a widget property on this template
FindWidgetProperties Properties templateAsset:FindWidgetProperties(string widgetName)
FindWidgetProperties Properties templateAsset:FindWidgetProperties(WidgetAsset widget)
FindAllWidgetProperties table templateAsset:FindAllWidgetProperties(string widgetName)
FindAllWidgetProperties table templateAsset:FindAllWidgetProperties(WidgetAsset widget)

Overrides

Override Name Usage Description Notes
new_index template.var = object value