1234567891011121314151617181920 |
- using System;
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using UnityEngine.UI;
- public class AllUserViewObj : MonoBehaviour
- {
- public Button returnBtn;
- // Start is called before the first frame update
- void Start()
- {
- returnBtn.onClick.AddListener(ClickOnReturn);
- }
- private void ClickOnReturn()
- {
- this.gameObject.SetActive(false);
- }
- }
|