private void Awake() { if (instance != null) { Destroy(gameObject); instance = null; } instance = this; if (TileList.isEmptyImageList()) { TileList.SetSpriteList(); } }
private void Awake() { if (instance != null) { Destroy(gameObject); instance = null; } instance = this; if (TileList.isEmptyImageList()) { TileList.SetSpriteList(); } }