Updated Introduction to Editor Scripting.md (markdown)
commited
commit
3d26f6706405b825efb60e28b167800b26e38247
... | ... | @@ -103,7 +103,7 @@ let justATree = { |
103 | 103 | components: { |
104 | 104 | // component: material, size, position |
105 | 105 | trunk: ["Wood Y", [1, 6, 1] [0, 0, 0]], |
106 | leaves: [Foliage, [3, 3, 3], [-1, 4, -1]] |
|
106 | leaves: ["Foliage", [3, 3, 3], [-1, 4, -1]] |
|
107 | 107 | }, |
108 | 108 | build: () => { |
109 | 109 | // the "this" keyword refers to the object it is inside to, |