コード例 #1
0
 private void LoadUnitName()
 {
     _unitName = gameObject.GetComponentInChildren <UnitNameInfo>();
 }
コード例 #2
0
 private void LoadInfo()
 {
     _unitNameInfo   = unitName.GetComponent <UnitNameInfo>();
     _unitAttackInfo = unitAttack.GetComponent <UnitAttackInfo>();
     _unitHpInfo     = unitHP.GetComponent <UnitHpInfo>();
 }