mod-management-functions
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
mod-management-functions [2021/12/09 10:45] – maxime | mod-management-functions [2022/09/12 15:42] – maxime | ||
---|---|---|---|
Line 74: | Line 74: | ||
| //'' | | //'' | ||
| //'' | | //'' | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== registerPrefabChild ===== | ||
+ | |||
+ | Registers a new child for a prefab | ||
+ | |||
+ | '' | ||
+ | |||
+ | ^ Name ^ Type ^ Description ^ | ||
+ | | //'' | ||
+ | | //'' | ||
+ | | //'' | ||
+ | | //'' | ||
+ | |||
+ | ==== Example ==== | ||
+ | |||
+ | <code lua> | ||
+ | local newChildTransform = { | ||
+ | Position = { 0, 0, 1 }, | ||
+ | Rotation = { 0, -180, 0 } | ||
+ | } | ||
+ | |||
+ | myMod: | ||
+ | </ | ||
---- | ---- |
mod-management-functions.txt · Last modified: 2022/10/07 11:18 by maxime