![]() |
Corgi Engine v9.3
|
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...
Protected Member Functions | |
override void | Awake () |
On awake, we initialize our instance. Make sure to call base.Awake() in override if you need awake. More... | |
virtual void | Start () |
On start, we trigger our load event, which will be caught by inventories so they try to load saved content More... | |
![]() | |
virtual void | InitializeSingleton () |
Initializes the singleton. More... | |
Static Protected Member Functions | |
static void | InitializeStatics () |
Statics initialization to support enter play modes More... | |
Properties | |
virtual InventoryDemoCharacter | Player [getprotected set] |
![]() | |
static bool | HasInstance [get] |
static T | Current [get] |
static T | Instance [get] |
Singleton design pattern More... | |
Additional Inherited Members | |
![]() | |
static T | TryGetInstance () |
![]() | |
static T | _instance |
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.
|
protectedvirtual |
On awake, we initialize our instance. Make sure to call base.Awake() in override if you need awake.
Reimplemented from MoreMountains.Tools.MMSingleton< InventoryDemoGameManager >.
|
staticprotected |
Statics initialization to support enter play modes
|
protectedvirtual |
On start, we trigger our load event, which will be caught by inventories so they try to load saved content
|
getprotected set |