MagicGame Methods |
The MagicGame type exposes the following members.
Name | Description | |
---|---|---|
Awake |
Initialize the object pools.
(Overrides MonoSingletonTAwake.) | |
CreateMagicEffect |
Get a spell effect object.
| |
GetRandomEffectId |
Get a random spell index.
| |
LoadData |
Load the data from the ScriptableObject asset into
the game components.
| |
OnApplicationQuit |
Trigger an autosave if SaveOnQuit is set.
| |
Quit |
Quit the game.
| |
SaveData |
Save the current data into an asset.
| |
ShowWelcome |
Show the welcome screen after a delay (coroutine).
| |
Start |
Load the spell data and show the welcome screen.
| |
Update |