protected override void OnEnable() { Debug.Assert(Instance == null); Instance = this; base.OnEnable(); }
static void InitStatics() { // Init here from 2019.3 onwards Instance = null; }
protected override void OnDisable() { Instance = null; base.OnDisable(); }
protected override void OnEnable() { Instance = this; base.OnEnable(); }