Reported By: Nicholas Taveras
October 7th, 2023
THE PROBLEM
On Game start event references were not setting and causing errors and things to not happen as expected for example the starting states of quests would never be set. This was due to events getting created and set at the same so I had to find a way to make it so the game objects settings events fully start up before objects that need to subscribe to them and I didnt wanna edit the unity settings for the order of execution.
THE SOLUTION
Although it wook a while to think of it the solution was simple I created a script that takes a list of game objects and turns them on once the game object with this script finishes starting up. This allowed for all event references to get subscribed to without any errors and all game start states began working as expected
Did you like this post? Tell us
Leave a comment
Log in with your itch.io account to leave a comment.