EnsureEventSystemEnsure Method

Ensures that there is an EventSystem in the scene.

Definition

Namespace: Alteruna.Multiplayer
Assembly: Alteruna (in Alteruna.dll) Version: 2.0.1+a1176e08a0b4a6bfd8fefeddde6163a16d29e5ab
C#
public static bool Ensure(
	bool onlyInEditor = false
)

Parameters

onlyInEditor  Boolean  (Optional)
 

Return Value

Boolean
True when new EventSystem was created.

See Also