using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine; public class TopMoney : MonoBehaviourSingletonTemplate { public MoneyForm[] moneys; // 0 젬, 1 골드 private void OnEnable() { Set(); } public void Set() { moneys[0].Set(1); moneys[1].Set(2); } }