Dialog.cs 463 B

123456789101112131415161718192021222324252627
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using UnityEngine.UI;
  5. public class Dialog : MonoBehaviour
  6. {
  7. public Text Text;
  8. public InputField InputField;
  9. public Button Button;
  10. // Start is called before the first frame update
  11. void Start()
  12. {
  13. }
  14. // Update is called once per frame
  15. void Update()
  16. {
  17. }
  18. public void Close()
  19. {
  20. gameObject.SetActive(false);
  21. }
  22. }