public void OnEnable() { list.Add(this); UpdateLayerList(); LightingManager2D.Get(); rectangle.SetGameObject(gameObject); isometric.SetGameObject(gameObject); hexagon.SetGameObject(gameObject); superTilemapEditor.eventsInit = false; superTilemapEditor.SetGameObject(gameObject); Initialize(); Light2D.ForceUpdateAll(); }