Class GlobalLogicPackage
Singleton package of logics and managers, that are present at all times, globally.
Inheritance
object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
GlobalLogicPackage
Implements
Inherited Members
Namespace: Global
Assembly: Dew.Core.dll
Syntax
public class GlobalLogicPackage : ManagerBase<GlobalLogicPackage>, ILogicUpdate
Fields
showFps
Declaration
[NonSerialized]
public bool showFps
Field Value
| Type | Description |
|---|---|
| bool |
Methods
Awake()
Declaration
protected override void Awake()
Overrides
ManagerBase<GlobalLogicPackage>.Awake()
CallOnReady(Action)
Call the action after global package has been added. If the global package already exists, it will be called immediately.
Declaration
public static void CallOnReady(Action callback)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action | callback |