protected override void OnEnable() { base.OnEnable(); if (current == null) { current = this; } else { Debug.LogWarning("Multiple EventSystems in scene... this is not supported"); } }