1234567891011121314151617181920212223242526272829 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class PopBadNotice : PopBase
- {
- [SerializeField]
- private TextMesh MText;
- protected override void Start()
- {
- base.Start();
- }
- //框体类型
- public override PopType MType { get { return PopType.BadConnecting; } }
- public override void Show()
- {
- this.gameObject.SetActive(true);
- }
- public override void Show(System.Object data)
- {
- this.MText.text = data as string;
- this.gameObject.SetActive(true);
- }
- }
|