You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using System;
- using SUISS.Core;
- using UnityEngine;
-
- public class CIGIslandContainer : MonoBehaviour
- {
- protected void Awake()
- {
- Island currentIsland = SingletonMonobehaviour<CIGIslandsManager>.Instance.CurrentIsland;
- GameObject readOnlyIslandPrefabByName = SingletonMonobehaviour<CIGVisitingIslandsManager>.Instance.GetReadOnlyIslandPrefabByName(currentIsland);
- GameObject gameObject = UnityEngine.Object.Instantiate<GameObject>(readOnlyIslandPrefabByName, base.transform);
- gameObject.name = readOnlyIslandPrefabByName.name;
- }
- }
|