Corgi Engine
v8.8
|
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... | |
Protected Member Functions inherited from MoreMountains.Tools.MMSingleton< InventoryDemoGameManager > | |
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 [get, protected set] |
Properties inherited from MoreMountains.Tools.MMSingleton< InventoryDemoGameManager > | |
static T | Instance [get] |
Singleton design pattern More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from MoreMountains.Tools.MMSingleton< InventoryDemoGameManager > | |
static T | TryGetInstance () |
Static Public Attributes inherited from MoreMountains.Tools.MMSingleton< InventoryDemoGameManager > | |
static bool | HasInstance |
static T | Current |
Static Protected Attributes inherited from MoreMountains.Tools.MMSingleton< InventoryDemoGameManager > | |
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 |