Template | CraytaKit
Skip to main content

Template

Class Functions

Class Function NameReturn TypeDescriptionTags
Template.Find(string name)TemplateFind a Template in the world by name. Returns nil if not found. Alternative to World:FindTemplate()None

Functions

Function NameReturn TypeDescriptionTags
FindScriptProperty(string propertyName)objectFind a property by property name on any script on this templateNone
FindScriptProperties(string scriptName)PropertiesFind all properties for script by nameNone
FindScriptProperties(ScriptAsset scriptAsset)PropertiesFind all properties for script by script assetNone
FindAllScriptProperties(string scriptName)tableFind all script properties for a script by nameNone
FindAllScriptProperties(ScriptAsset scriptAsset)tableFind all script properties for a script assetNone
FindWidgetProperty(string propertyName)tableGet the value of a widget property on this templateNone
FindWidgetProperties(string widgetName)tableNoneNone
FindWidgetProperties(WidgetAsset widgetAsset)tableNoneNone
FindAllWidgetProperties(string widgetName)tableNoneNone
FindAllWidgetProperties(WidgetAsset widgetAsset)tableNoneNone

Examples

© 2024 CraytaKit