custom-asset
Differences
This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
custom-asset [2022/03/29 20:52] – created minotorious | custom-asset [2022/03/29 20:53] – minotorious | ||
---|---|---|---|
Line 1: | Line 1: | ||
ASSET classes are the basic registerable types in Foundation. | ASSET classes are the basic registerable types in Foundation. | ||
- | For reference all available | + | For reference all available |
===== Creating & Using a Custom ASSET Object ===== | ===== Creating & Using a Custom ASSET Object ===== | ||
==== Step 1: Defining an ASSET Object using a Lua Table ==== | ==== Step 1: Defining an ASSET Object using a Lua Table ==== | ||
- | To create a custom ASSET object we will need to make use of the '' | + | To create a custom |
- | Here you decide what properties your custom ASSET object will contain. | + | Here you decide what properties your custom |
<code lua> | <code lua> | ||
local MY_ASSET_OBJECT = { | local MY_ASSET_OBJECT = { | ||
Line 37: | Line 37: | ||
}) | }) | ||
</ | </ | ||
- | Remember, each unique ASSET instance requires an Id that identifies it from other ASSETs | + | Remember, each unique |
In case you omit any properties you don't yet need to explicitly set they will use their default values. As we have done with '' | In case you omit any properties you don't yet need to explicitly set they will use their default values. As we have done with '' |
custom-asset.txt · Last modified: 2022/03/30 10:16 by minotorious