At the moment everywhere in my code I have little delays after start before referring to the database, is there a method that returns when the environment is initialised and ready for use?
Thanks again,
BB
Getting information on when the Lua environment has been initialised
-
- Posts: 91
- Joined: Tue Jul 14, 2015 8:22 am
Re: Getting information on when the Lua environment has been initialised
There isn't, but I can add it. The environment is initialized in Awake, although some Lua functions are registered in Start. If your script uses Lua functions and your script's Start runs after the DialogueSystemController's Start (e.g., using Script Execution Settings), then you don't need any delay.