Using new displayType methods.
parent
eac51bbdaa
commit
269eb9acf7
1 changed files with 4 additions and 1 deletions
|
@ -19,7 +19,10 @@ So to create a new object, choose one of the two to extend, and then create a cl
|
|||
- `static type() -> string`
|
||||
- Returns the type of the object (should be constant, non translatable).
|
||||
- Examples: "Text", "Function"...
|
||||
- `static typeMultiple() -> string`
|
||||
- `static displayType() -> string`
|
||||
- Returns the (potentially translated) string for the type of this object objects of this type (used in the editor dialog, as well as the creation buttons).
|
||||
- Examples: "Texts", "Functions"...
|
||||
- `static displayTypeMultiple() -> string`
|
||||
- Returns the string for multiple objects of this type (used in objects list for a category of objects).
|
||||
- Examples: "Texts", "Functions"...
|
||||
- `static createable() -> boolean`
|
||||
|
|
Loading…
Reference in a new issue