BaseWindow.cs 381 B

1234567891011121314151617
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class BaseWindow : MonoBehaviour
  5. {
  6. public virtual void SetShowInfo(string json)
  7. {
  8. Debug.Log("SetShowInfo===>"+json);
  9. this.gameObject.SetActive(true);
  10. }
  11. public virtual void SetHideInfo(string json)
  12. {
  13. this.gameObject.SetActive(false);
  14. }
  15. }