Jump to content

Mscr:Assets.Asset: Difference between revisions

From Ironworks Games Wiki
m Got rid of init and static initialization stuff, no longer relevant
mNo edit summary
 
Line 6: Line 6:
<syntaxhighlight lang="cs">void PostLoadResolve()</syntaxhighlight>
<syntaxhighlight lang="cs">void PostLoadResolve()</syntaxhighlight>


Called after loading all Assets. It's recommended to call anything in here that relies on the contents of static variables, see [[#Static Initialization]].
Called after loading all Assets. If you need to find another Asset via scripting before the game starts, or fix up any data post-load, this is the place to do it.

Latest revision as of 10:51, 27 August 2026

todo: TO BE COMPLETED

User-Implemented Methods

PostLoadResolve

void PostLoadResolve()

Called after loading all Assets. If you need to find another Asset via scripting before the game starts, or fix up any data post-load, this is the place to do it.