An example of a game manager, the only significant part being how we trigger in a single place the load of all inventories, in the Start method.
More...
|
| override void | Awake () |
| | On awake, we initialize our instance. Make sure to call base.Awake() in override if you need awake.
|
| virtual void | Start () |
| | On start, we trigger our load event, which will be caught by inventories so they try to load saved content.
|
| virtual void | InitializeSingleton () |
| | Initializes the singleton.
|
An example of a game manager, the only significant part being how we trigger in a single place the load of all inventories, in the Start method.
◆ Awake()
| override void MoreMountains.InventoryEngine.InventoryDemoGameManager.Awake |
( |
| ) |
|
|
protectedvirtual |
◆ InitializeStatics()
| void MoreMountains.InventoryEngine.InventoryDemoGameManager.InitializeStatics |
( |
| ) |
|
|
staticprotected |
Statics initialization to support enter play modes.
◆ Start()
| virtual void MoreMountains.InventoryEngine.InventoryDemoGameManager.Start |
( |
| ) |
|
|
protectedvirtual |
On start, we trigger our load event, which will be caught by inventories so they try to load saved content.
◆ Player
The documentation for this class was generated from the following file: