Table of Contents

Class Context

Namespace
Alis.Core.Ecs.System
Assembly
Alis.dll

The context class

public class Context : IContext

Inheritance

Implements

Inherited Members

Constructors

Context()

Initializes a new instance of the Alis.Core.Ecs.System.Context class

public Context()

Context(Settings)

Initializes a new instance of the Alis.Core.Ecs.System.Context class

public Context(Settings settings)

Parameters

settings Settings

The settings

Context(Settings, SceneManager)

Initializes a new instance of the Alis.Core.Ecs.System.Context class

public Context(Settings settings, SceneManager sceneManager)

Parameters

settings Settings

The settings

sceneManager SceneManager

The scene manager

Context(Settings, AudioManager, GraphicManager, InputManager, NetworkManager, PhysicManager, SceneManager)

Initializes a new instance of the Alis.Core.Ecs.System.Context class

public Context(Settings settings, AudioManager audioManager, GraphicManager graphicManager, InputManager inputManager, NetworkManager networkManager, PhysicManager physicManager, SceneManager sceneManager)

Parameters

settings Settings

The settings

audioManager AudioManager

The audio manager

graphicManager GraphicManager

The graphic manager

inputManager InputManager

The input manager

networkManager NetworkManager

The network manager

physicManager PhysicManager

The physic manager

sceneManager SceneManager

The scene manager

Properties

AudioManager

Gets the value of the audio manager

[JsonPropertyName("_AudioManager_", true, true)]
public AudioManager AudioManager { get; set; }

Property Value

AudioManager

GraphicManager

Gets the value of the graphic manager

[JsonPropertyName("_GraphicManager_", true, true)]
public GraphicManager GraphicManager { get; set; }

Property Value

GraphicManager

InputManager

Gets the value of the input manager

[JsonPropertyName("_InputManager_", true, true)]
public InputManager InputManager { get; set; }

Property Value

InputManager

NetworkManager

Gets the value of the network manager

[JsonPropertyName("_NetworkManager_", true, true)]
public NetworkManager NetworkManager { get; set; }

Property Value

NetworkManager

PhysicManager

Gets the value of the physic manager

[JsonPropertyName("_PhysicManager_", true, true)]
public PhysicManager PhysicManager { get; set; }

Property Value

PhysicManager

SceneManager

Gets the value of the scene manager

[JsonPropertyName("_SceneManager_")]
public SceneManager SceneManager { get; set; }

Property Value

SceneManager

Settings

The settings

[JsonPropertyName("_Settings_")]
public Settings Settings { get; set; }

Property Value

Settings

TimeManager

Gets the value of the time manager

[JsonPropertyName("_TimeManager_", true, true)]
public TimeManager TimeManager { get; set; }

Property Value

TimeManager

Methods

Exit()

Exits this instance

public void Exit()

OnAfterFixedUpdate()

Ons the after fixed update

public void OnAfterFixedUpdate()

OnAfterUpdate()

Ons the after update

public void OnAfterUpdate()

OnAwake()

Ons the awake

public void OnAwake()

OnBeforeFixedUpdate()

Ons the before fixed update

public void OnBeforeFixedUpdate()

OnBeforeUpdate()

Ons the before update

public void OnBeforeUpdate()

OnCalculate()

Ons the calculate

public void OnCalculate()

OnDispatchEvents()

Ons the dispatch events

public void OnDispatchEvents()

OnDraw()

Ons the draw

public void OnDraw()

OnExit()

Ons the exit

public void OnExit()

OnFixedUpdate()

Ons the fixed update

public void OnFixedUpdate()

OnGui()

Ons the gui

public void OnGui()

OnInit()

Ons the init

public void OnInit()

OnPhysicUpdate()

Ons the physic update

public void OnPhysicUpdate()

OnStart()

Ons the start

public void OnStart()

OnStop()

Ons the stop

public void OnStop()

OnUpdate()

Ons the update

public void OnUpdate()

SetSceneManager(SceneManager)

Sets the scene manager using the specified scene manager

public void SetSceneManager(SceneManager sceneManager)

Parameters

sceneManager SceneManager

The scene manager