|
@@ -16,7 +16,7 @@ public class WaterTrendPanel : MonoBehaviour
|
|
public string currentStcd;
|
|
public string currentStcd;
|
|
public Transform listRoot;
|
|
public Transform listRoot;
|
|
|
|
|
|
- private void Awake()
|
|
|
|
|
|
+ public void Init()
|
|
{
|
|
{
|
|
_LineChart = this.transform.Find("LineChart").GetComponent<LineChart>();
|
|
_LineChart = this.transform.Find("LineChart").GetComponent<LineChart>();
|
|
listRoot = this.transform.Find("ScrollView/Viewport/Content").transform;
|
|
listRoot = this.transform.Find("ScrollView/Viewport/Content").transform;
|