EngediKimHyeYoung / Unity

0 stars 0 forks source link

공지사항닫기 버튼 - CloseBtn.cs #16

Open EngediKimHyeYoung opened 1 year ago

EngediKimHyeYoung commented 1 year ago

using System.Collections; using System.Collections.Generic; using UnityEngine;

public class CloseBtn : MonoBehaviour { public GameObject NewsSet; public void NewsClose(){ NewsSet.SetActive(false); // this.gameObject.SetActive(false); } }