Class Context
- Namespace
- Alis.Core.Ecs.System
- Assembly
- Alis.dll
The context class
public class Context : IContextInheritance
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
settingsSettings-
The settings
Context(Settings, SceneManager)
Initializes a new instance of the Alis.Core.Ecs.System.Context class
public Context(Settings settings, SceneManager sceneManager)Parameters
settingsSettings-
The settings
sceneManagerSceneManager-
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
settingsSettings-
The settings
audioManagerAudioManager-
The audio manager
graphicManagerGraphicManager-
The graphic manager
inputManagerInputManager-
The input manager
networkManagerNetworkManager-
The network manager
physicManagerPhysicManager-
The physic manager
sceneManagerSceneManager-
The scene manager
Properties
AudioManager
Gets the value of the audio manager
[JsonPropertyName("_AudioManager_", true, true)]
public AudioManager AudioManager { get; set; }Property Value
GraphicManager
Gets the value of the graphic manager
[JsonPropertyName("_GraphicManager_", true, true)]
public GraphicManager GraphicManager { get; set; }Property Value
InputManager
Gets the value of the input manager
[JsonPropertyName("_InputManager_", true, true)]
public InputManager InputManager { get; set; }Property Value
NetworkManager
Gets the value of the network manager
[JsonPropertyName("_NetworkManager_", true, true)]
public NetworkManager NetworkManager { get; set; }Property Value
PhysicManager
Gets the value of the physic manager
[JsonPropertyName("_PhysicManager_", true, true)]
public PhysicManager PhysicManager { get; set; }Property Value
SceneManager
Gets the value of the scene manager
[JsonPropertyName("_SceneManager_")]
public SceneManager SceneManager { get; set; }Property Value
Settings
The settings
[JsonPropertyName("_Settings_")]
public Settings Settings { get; set; }Property Value
TimeManager
Gets the value of the time manager
[JsonPropertyName("_TimeManager_", true, true)]
public TimeManager TimeManager { get; set; }Property Value
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
sceneManagerSceneManager-
The scene manager