using TMPro; using UnityEngine; using UnityEngine.UI; using System.Collections; using System.Collections.Generic; using IVDataFormat; using Sirenix.OdinInspector; using Spine.Unity; using System.Numerics; public class EScrLvPointEnchance : EScrCell { GameObject unlockSet; GameObject lockSet; Image icon; TextMeshProUGUI txtLevel; TextMeshProUGUI txtName; TextMeshProUGUI txtCur; Button btnLvUp; GameObject goBtnLvUpObj; GameObject goBtnLvMax; TextMeshProUGUI txtMaxLevel; TextMeshProUGUI txtMaxLevelMax; TextMeshProUGUI txtPrice; TextMeshProUGUI unlockConditionText; ParticleSystem partUpEffect; int iupgradeMulti = 1; int iprice; int inextValue = 0; int iresetValue = 0; //int iintervalMaxLv = 100; bool bClicking = false; nIdEnhance dataEnhance = null; [SerializeField] Color effectValueColor = Color.white; public override void InitCell() { unlockSet = transform.Find("Unlock").gameObject; lockSet = transform.Find("Lock").gameObject; icon = unlockSet.transform.Find("icon").GetComponent(); txtLevel = unlockSet.transform.Find("txtLevel").GetComponent(); txtName = unlockSet.transform.Find("txtName").GetComponent(); txtCur = unlockSet.transform.Find("txtCur").GetComponent(); btnLvUp = unlockSet.transform.Find("btnlvup").GetComponent