C# Class QFramework.QApp

全局唯一继承于MonoBehaviour的单例类,保证其他公共模块都以App的生命周期为准
Inheritance: UnityEngine.MonoBehaviour
Show file Open project: liangxiegame/QFramework Class Usage Examples

Public Properties

Property Type Description
mode QAppMode
onApplicationQuit LifeCircleCallback
onDestroy LifeCircleCallback
onFixedUpdate LifeCircleCallback
onGUI LifeCircleCallback
onLatedUpdate LifeCircleCallback
onUpdate LifeCircleCallback

Protected Methods

Method Description
OnDestroy ( ) : void

Private Methods

Method Description
Awake ( ) : void
FixedUpdate ( ) : void
LatedUpdate ( ) : void
OnApplicationQuit ( ) : void
OnGUI ( ) : void
QApp ( ) : UnityEngine
Start ( ) : IEnumerator
Update ( ) : void

Method Details

OnDestroy() protected method

protected OnDestroy ( ) : void
return void

Property Details

mode public property

public QAppMode mode
return QAppMode

onApplicationQuit public property

public LifeCircleCallback onApplicationQuit
return LifeCircleCallback

onDestroy public property

public LifeCircleCallback onDestroy
return LifeCircleCallback

onFixedUpdate public property

public LifeCircleCallback onFixedUpdate
return LifeCircleCallback

onGUI public property

public LifeCircleCallback onGUI
return LifeCircleCallback

onLatedUpdate public property

public LifeCircleCallback onLatedUpdate
return LifeCircleCallback

onUpdate public property

public LifeCircleCallback onUpdate
return LifeCircleCallback