Login

Fancade Wiki

Updated Introduction to Editor Scripting.md (markdown)

... ...
@@ -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,
Fancade Wiki