Avatar of James Hancock
James Hancock
Flag for United States of America

asked on 

How should I best add a Game Manager at the start of a Unity game project?

I have a good start to a new device game, window, game objects all ready.
How is it best done to allow for a game manager? Attach a new script to the canvas? use onAwake to fire it up? I mainly need it for global data during the entire game.

How does a different script access this global object? Maybe I can add it to a hidden game object, with getter and setter methods?
Game ProgrammingC#UnityProgrammingSoftware

Avatar of undefined
Last Comment
James Hancock

8/22/2022 - Mon