using System; using SUISS.Core; using UnityEngine; public class CIGIslandContainer : MonoBehaviour { protected void Awake() { Island currentIsland = SingletonMonobehaviour.Instance.CurrentIsland; GameObject readOnlyIslandPrefabByName = SingletonMonobehaviour.Instance.GetReadOnlyIslandPrefabByName(currentIsland); GameObject gameObject = UnityEngine.Object.Instantiate(readOnlyIslandPrefabByName, base.transform); gameObject.name = readOnlyIslandPrefabByName.name; } }