1234567891011121314151617 |
- using TMPro;
- using UnityEngine.UI;
- using WS;
- public class TipView : View
- {
- public Button sureBtn;
- public TextMeshProUGUI contentText;
- public override void LoadInit()
- {
- ShowModeType = ViewShowModeType.Screen;
- ReferenceCollector rc = UIGameObject.GetComponent<ReferenceCollector>();
- sureBtn = rc.GetComponent<Button>("SureBtn");
- contentText = rc.GetComponent<TextMeshProUGUI>("ContentText");
- }
- }
|