foundation-library-functions
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
foundation-library-functions [2020/07/14 13:00] – maxime | foundation-library-functions [2023/09/14 11:32] (current) – [findGameObject] mathieu | ||
---|---|---|---|
Line 19: | Line 19: | ||
^ Name ^ Type ^ Description ^ | ^ Name ^ Type ^ Description ^ | ||
| //'' | | //'' | ||
+ | |||
+ | ---- | ||
===== isModLoaded ===== | ===== isModLoaded ===== | ||
Line 53: | Line 55: | ||
'' | '' | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== createData ===== | ||
+ | |||
+ | Creates a new instance of a data type | ||
+ | |||
+ | '' | ||
+ | |||
+ | ^ Name ^ Type ^ Description ^ | ||
+ | | //'' | ||
+ | |||
+ | ==== Example ==== | ||
+ | |||
+ | <code lua> | ||
+ | local instanceData = { | ||
+ | DataType = " | ||
+ | ... | ||
+ | } | ||
+ | foundation.createData(instanceData ) | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== findAsset ===== | ||
+ | |||
+ | Finds an asset by its name | ||
+ | |||
+ | '' | ||
+ | |||
+ | ^ Name ^ Type ^ Description ^ | ||
+ | | //'' | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== findGameObject ===== | ||
+ | |||
+ | Finds a GameObject by its name | ||
+ | |||
+ | '' | ||
+ | |||
+ | ^ Name ^ Type ^ Description ^ | ||
+ | | //'' |
foundation-library-functions.1594746047.txt.gz · Last modified: 2020/07/14 13:00 by maxime