retro-engine / Exports / Types
The types are used by the editor to determine how to parse and stringify arguments. These should be provided in each script (whether that be a component/system/shader/entity) in the arg_types
static property.
▪ Static
Boolean: BoolType
Represents a boolean type.
▪ Static
File: FileType
Represents a file type, which takes a path relative to the project root.
▪ Static
Number: NumberType
Represents a number type.
▪ Static
String: StringType
Represents a string type.