您不能選擇超過 %s 個話題 話題必須以字母或數字為開頭,可包含連接號 ('-') 且最長為 35 個字
 
 
 

15 行
553 B

  1. using System;
  2. using SUISS.Core;
  3. using UnityEngine;
  4. public class CIGIslandContainer : MonoBehaviour
  5. {
  6. protected void Awake()
  7. {
  8. Island currentIsland = SingletonMonobehaviour<CIGIslandsManager>.Instance.CurrentIsland;
  9. GameObject readOnlyIslandPrefabByName = SingletonMonobehaviour<CIGVisitingIslandsManager>.Instance.GetReadOnlyIslandPrefabByName(currentIsland);
  10. GameObject gameObject = UnityEngine.Object.Instantiate<GameObject>(readOnlyIslandPrefabByName, base.transform);
  11. gameObject.name = readOnlyIslandPrefabByName.name;
  12. }
  13. }