Forum rules - please read before posting.

Adventure Creator engine loaded

Hello, again.
I'm having trouble with a script I have that updates a UI graphic.  I have several actions running from start, but from what I see I should move it to run other time because when they trigger Adventure Creator has not started yet.

Should I check if its running, or make this lines of code run after x time has passed?

Comments

  • AC should be completely loaded by the time the Start functions on the PersistentEngine are called, which is loaded in Awake.  AC's Actions shouldn't run before all this has happened.

    Is this a Unity UI prefab linked to AC?  You might want to consider moving it out of an Action and making it a Monobehaviour, making it run when the UI is instantiated by the menu system.  I can only speak generally however.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.