User Tools

Site Tools


custom-asset

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
custom-asset [2022/03/29 20:59] minotoriouscustom-asset [2022/03/30 10:16] (current) minotorious
Line 10: Line 10:
 <code lua> <code lua>
 local MY_ASSET_OBJECT = { local MY_ASSET_OBJECT = {
-    TypeName = "MY_ASSET_OBJECT ",+    TypeName = "MY_ASSET_OBJECT",
     DataType = "ASSET",     DataType = "ASSET",
     Properties = {     Properties = {
Line 31: Line 31:
 <code lua> <code lua>
 mod:registerAsset({ mod:registerAsset({
-    DataType = "MY_ASSET_OBJECT ",+    DataType = "MY_ASSET_OBJECT",
     Id = "MY_ASSET_OBJECT_INSTANCE",     Id = "MY_ASSET_OBJECT_INSTANCE",
     Property1 = "SomeOtherString",     Property1 = "SomeOtherString",
custom-asset.1648601940.txt.gz · Last modified: 2022/03/29 20:59 by minotorious

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki