Infinite Runner Engine v1.9
|
Add this class to your scene and it'll store your selected character, for use in the upcoming scene More...
Public Member Functions | |
virtual void | StoreSelectedCharacter (PlayableCharacter selectedCharacter) |
Stores the selected character for use in upcoming levels More... | |
virtual void | ClearSelectedCharacter () |
Clears the selected character. More... | |
Properties | |
PlayableCharacter | StoredCharacter [getset] |
the stored selected character More... | |
Properties inherited from MoreMountains.Tools.MMPersistentSingleton< CharacterSelectorManager > | |
static bool | HasInstance [get] |
static T | Current [get] |
static T | Instance [get] |
Singleton design pattern More... | |
Additional Inherited Members | |
Public Attributes inherited from MoreMountains.Tools.MMPersistentSingleton< CharacterSelectorManager > | |
bool | AutomaticallyUnparentOnAwake |
if this is true, this singleton will auto detach if it finds itself parented on awake More... | |
Protected Member Functions inherited from MoreMountains.Tools.MMPersistentSingleton< CharacterSelectorManager > | |
virtual void | Awake () |
On awake, we check if there's already a copy of the object in the scene. If there's one, we destroy it. More... | |
Protected Attributes inherited from MoreMountains.Tools.MMPersistentSingleton< CharacterSelectorManager > | |
bool | _enabled |
Static Protected Attributes inherited from MoreMountains.Tools.MMPersistentSingleton< CharacterSelectorManager > | |
static T | _instance |
Add this class to your scene and it'll store your selected character, for use in the upcoming scene
|
virtual |
Clears the selected character.
|
virtual |
Stores the selected character for use in upcoming levels
selectedCharacter | Selected character. |
|
getset |
the stored selected character