Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
|
- 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;
- }
- }
|