User Tools

Site Tools


foundation-library-functions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
foundation-library-functions [2021/12/09 10:45] maximefoundation-library-functions [2023/09/14 09:50] – Add findAsset and findGameObject mathieu
Line 76: Line 76:
 foundation.createData(instanceData ) foundation.createData(instanceData )
 </code> </code>
 +
 +----
 +
 +===== findAsset =====
 +
 +Finds an asset by its name
 +
 +''asset **foundation.findAsset**(//assetName//)''
 +
 +^ Name ^ Type ^ Description ^
 +| //''assetName''// | ''string'' | the name of the wanted asset. |
 +
 +----
 +
 +===== findGameObject =====
 +
 +Finds a GameObject by its name
 +
 +''object **foundation.findGameObject**(//objectName//)''
 +
 +^ Name ^ Type ^ Description ^
 +| //''objectName''// | ''string'' | the name of the wanted object. |
foundation-library-functions.txt · Last modified: 2023/09/14 11:32 by mathieu

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki