EnsureEventSystemEnsure Method

Ensures that there is an EventSystem in the scene.

Definition

Namespace: Alteruna.Multiplayer.Unity
Assembly: Alteruna.Multiplayer.UnityFiles (in Alteruna.Multiplayer.UnityFiles.dll) Version: 1.0.0+c5328b35489e83c42e288435f5acf6115fd519e0
C#
public static bool Ensure(
	bool onlyInEditor = false
)

Parameters

onlyInEditor  Boolean  (Optional)
 

Return Value

Boolean
True when new EventSystem was created.

See Also