User Tools

Site Tools


mod-functions:mod

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
mod-functions:mod [2020/01/23 13:46] – [registerAssetProcessor] polymorphgamesmod-functions:mod [2020/01/23 13:48] maxime
Line 32: Line 32:
  
 Parameters: Parameters:
-  * ''assetData'' (table): the data defining the new asset. The table must contain at least the asset's type (''DataType'', see [[preview:api|API]] for the complete list) and its ID (''Id'').+  * ''assetData'' (table): the data defining the new asset. The table must contain at least the asset's type (''DataType'', see [[api|API]] for the complete list) and its ID (''Id'').
  
 ---- ----
Line 69: Line 69:
 ===== registerPrefabComponent ===== ===== registerPrefabComponent =====
  
-Registers a component to a prefab (see [[preview:components|Components]] for a complete explanation)+Registers a component to a prefab (see [[components|Components]] for a complete explanation)
  
 <code lua> <code lua>
Line 81: Line 81:
 Parameters: Parameters:
   * ''prefabPath'' (string): the path to the prefab   * ''prefabPath'' (string): the path to the prefab
-  * ''componentData'' (table): the data defining the component. The table must contain at least the component's type (''DataType'', see [[preview:api|API]] for the complete list).+  * ''componentData'' (table): the data defining the component. The table must contain at least the component's type (''DataType'', see [[api|API]] for the complete list).
  
 ---- ----
Line 87: Line 87:
 ===== registerAssetProcessor ===== ===== registerAssetProcessor =====
  
-Registers an asset processor to a file (see [[preview:building-asset-processor|Building Asset Processor]] for a complete explanation)+Registers an asset processor to a file (see [[building-asset-processor|Building Asset Processor]] for a complete explanation)
  
 <code lua> <code lua>

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki