Show / Hide Table of Contents

Interface IApplicationLifeCycle

The life cycle interface for GameSystem Use ScriptableObjectLifeCycle or MonoBehaviourLifeCycle for more detail

Namespace: MacacaGames.GameSystem
Assembly: Macaca.GameSystem.dll
Syntax
public interface IApplicationLifeCycle

Methods

| Improve this Doc View Source

Init()

Init the instance,

Declaration
void Init()
| Improve this Doc View Source

OnApplicationUpdate()

Fire every frame during the application is running

Declaration
void OnApplicationUpdate()
| Improve this Doc View Source

OnEnterLobby()

Fire once between GameEnd and next GamePlay, also fire once after init.

Declaration
void OnEnterLobby()
| Improve this Doc View Source

OnGamePlayUpdate()

Fire every frame during the gameplay loop is running (While ApplicationController.Instance.IsInGame == true)

Declaration
void OnGamePlayUpdate()
| Improve this Doc View Source

OnUnPauseGamePlayUpdate()

Fire every frame during the gameplay loop is running (While ApplicationController.Instance.IsInGame == true)

Declaration
void OnUnPauseGamePlayUpdate()
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX