private void LoadUnitName() { _unitName = gameObject.GetComponentInChildren <UnitNameInfo>(); }
private void LoadInfo() { _unitNameInfo = unitName.GetComponent <UnitNameInfo>(); _unitAttackInfo = unitAttack.GetComponent <UnitAttackInfo>(); _unitHpInfo = unitHP.GetComponent <UnitHpInfo>(); }