EnsureEventSystem Class
Ensures the scene has an EventSystem, creating one with the appropriate input module if missing.
Namespace: Alteruna.Multiplayer.UnityAssembly: Alteruna.Multiplayer.UnityFiles (in Alteruna.Multiplayer.UnityFiles.dll) Version: 1.0.0+c5328b35489e83c42e288435f5acf6115fd519e0
public class EnsureEventSystem : MonoBehaviour
- Inheritance
- Object Object Component Behaviour MonoBehaviour EnsureEventSystem
As an alternative to put Event System in prefabs, this component will create an EventSystem in the scene if one is not yet present.
| Ensure | Ensures that there is an EventSystem in the scene. |