User Tools

Site Tools


class-info

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
class-info [2026/02/23 17:55] polymorphgamesclass-info [2026/02/23 17:59] (current) polymorphgames
Line 6: Line 6:
 { {
     TypeName = "MY_TYPE_NAME",     TypeName = "MY_TYPE_NAME",
-    ParentType = "ASSET", -- if this field is missing, the new type will be a data type+    ParentType = "ASSET",
     Properties = {     Properties = {
         { Name = "Property1", Type = "string", Default = "SomeString" },         { Name = "Property1", Type = "string", Default = "SomeString" },
Line 18: Line 18:
 ^ Name ^ Type ^ Description ^ ^ Name ^ Type ^ Description ^
 | ''TypeName'' | ''string'' | the name of your type | | ''TypeName'' | ''string'' | the name of your type |
-| ''[[:class-info#ParentType|ParentType]]'' | ''string'' | the name of the parent type of your type |+| ''ParentType'' | ''string''optional, the name of the parent type of your type\\ Can be a core type such as ''ASSET'', ''COMPONENT'', or any extendable type.\\ If this field is missing, the new type will be a basic data type.  |
 | ''[[:class-info#Properties|Properties]]'' | ''list'' | a list of the properties your type contains | | ''[[:class-info#Properties|Properties]]'' | ''list'' | a list of the properties your type contains |
- 
-===== ParentType ===== 
-Can be a core type such as ''ASSET'', ''COMPONENT'', or any extendable type. 
-If this field is missing, the new type will be a basic data type. 
  
 ===== Properties ===== ===== Properties =====
class-info.1771887342.txt.gz · Last modified: 2026/02/23 17:55 by polymorphgames

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki