WindowItem.cs 280 B

123456789101112131415161718
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class WindowItem : MonoBehaviour
  5. {
  6. public void show()
  7. {
  8. this.gameObject.SetActive(true);
  9. }
  10. public void hide()
  11. {
  12. this.gameObject.SetActive(false);
  13. }
  14. }