using vnxbqy.UI;
|
using UnityEngine;
|
using UnityEngine.UI;
|
|
public class UnionTaskCell : MonoBehaviour
|
{
|
private Image _taskIcon;
|
public Image taskIcon
|
{
|
get
|
{
|
if (_taskIcon == null)
|
_taskIcon = transform.Find("taskIcon").GetComponent<Image>();
|
return _taskIcon;
|
}
|
}
|
|
private Text _taskNameText;
|
public Text taskNameText
|
{
|
get
|
{
|
if (_taskNameText == null)
|
_taskNameText = transform.Find("TaskNameText").GetComponent<Text>();
|
return _taskNameText;
|
}
|
}
|
|
private Text _progressText;
|
public Text progressText
|
{
|
get
|
{
|
if (_progressText == null)
|
_progressText = transform.Find("progressText").GetComponent<Text>();
|
return _progressText;
|
}
|
}
|
|
private Text _rewardText;
|
public Text RewardText
|
{
|
get
|
{
|
if (_rewardText == null)
|
_rewardText = transform.Find("RewardText").GetComponent<Text>();
|
return _rewardText;
|
}
|
}
|
|
private Image _completeImage;
|
public Image completeImage
|
{
|
get
|
{
|
if (_completeImage == null)
|
_completeImage = transform.Find("completeImage").GetComponent<Image>();
|
return _completeImage;
|
}
|
}
|
}
|