foundation-library-functions
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
foundation-library-functions [2020/07/14 13:01] – maxime | foundation-library-functions [2023/09/14 11:31] – [findAsset] mathieu | ||
---|---|---|---|
Line 55: | 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.txt · Last modified: 2023/09/14 11:32 by mathieu