using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class B08_TaskListItem : MonoBehaviour { public Text typeText; public Text titleText; public Text stateText; public Text dateText; public Text ctrlText; public GameObject more; public Button moreButton; public bool moreMessage = false; public RectTransform rect; public GameObject pointItemPrefab; public List PointItems = new List(); public Transform itemContent; public B08_TaskInfoData InfoData; public GCYWLayer gcywLayer; public void Init() { rect = this.GetComponent(); typeText = this.transform.Find("typeText").GetComponent(); titleText = this.transform.Find("titleText").GetComponent(); stateText = this.transform.Find("stateText").GetComponent(); dateText = this.transform.Find("dateText").GetComponent(); ctrlText = this.transform.Find("ctrlText").GetComponent(); more = this.transform.Find("more").gameObject; more.SetActive(false); moreButton = ctrlText.GetComponent