Click or drag to resize

MagicGame Methods

The MagicGame type exposes the following members.

Methods
  NameDescription
Protected methodAwake
Initialize the object pools.
(Overrides MonoSingletonTAwake.)
Public methodCreateMagicEffect
Get a spell effect object.
Public methodGetRandomEffectId
Get a random spell index.
Protected methodLoadData
Load the data from the ScriptableObject asset into the game components.
Protected methodOnApplicationQuit
Trigger an autosave if SaveOnQuit is set.
Public methodQuit
Quit the game.
Protected methodSaveData
Save the current data into an asset.
Private methodShowWelcome
Show the welcome screen after a delay (coroutine).
Protected methodStart
Load the spell data and show the welcome screen.
Protected methodUpdate
Top
See Also