-
Notifications
You must be signed in to change notification settings - Fork 466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to Change/Load Scene Inside Function? #20
Comments
Procedure is more like a state stage of the current game. You can switch scenes in your own way. Procedure will not be affected by your logic. Procedure in StarForce is just a way of using it. You can ignore it completely. You can also just create a Procedure, then load the scene in your own code.
I have written three pseudo code ways, hoping to help you, scene loading you can do anywhere |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I wrote a game framework to separate game logic from unity visual. Everything for game is done inside a big function (method). When game should load new scene or level, i use
interface
to callIInterface.Initialize(new IScene)
. But GameFramework only change scene insideOnUpdate()
?The text was updated successfully, but these errors were encountered: