Photon Quantum 3.0.0

Public Member Functions | Public Attributes | List of all members
Quantum.QuantumRunnerBehaviour Class Reference

A unity script that updates the Quantum runner. Also manages calls to Gizmos and DebugDraw required to render Quantum debug gizmos. If you are writing a custom SRP, you must call RenderPipeline.EndCameraRendering to trigger OnPostRenderInternal(). More...

Inheritance diagram for Quantum.QuantumRunnerBehaviour:
Quantum.QuantumMonoBehaviour

Public Member Functions

void OnDisable ()
 Unity OnDisable event is used to unsubscribe the global camera callbacks. More...
 
void OnEnable ()
 Unity OnEnable event is required to register to global camera callbacks for gizmos rendering.
More...
 
void Update ()
 Unity Update event triggers the runner updates and ticks the Quantum simulation. More...
 

Public Attributes

QuantumRunner Runner
 The runner object set during QuantumRunner.StartGame(SessionRunner.Arguments) More...
 

Detailed Description

A unity script that updates the Quantum runner. Also manages calls to Gizmos and DebugDraw required to render Quantum debug gizmos. If you are writing a custom SRP, you must call RenderPipeline.EndCameraRendering to trigger OnPostRenderInternal().

Member Function Documentation

◆ OnEnable()

void Quantum.QuantumRunnerBehaviour.OnEnable ( )
inline

Unity OnEnable event is required to register to global camera callbacks for gizmos rendering.

◆ OnDisable()

void Quantum.QuantumRunnerBehaviour.OnDisable ( )
inline

Unity OnDisable event is used to unsubscribe the global camera callbacks.

◆ Update()

void Quantum.QuantumRunnerBehaviour.Update ( )
inline

Unity Update event triggers the runner updates and ticks the Quantum simulation.

Member Data Documentation

◆ Runner

QuantumRunner Quantum.QuantumRunnerBehaviour.Runner

The runner object set during QuantumRunner.StartGame(SessionRunner.Arguments)