TV 모양 마크를 클릭하면

기본 홈 창에서 팝업이 뜬다.

 

 

 

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

public class Main20240210 : MonoBehaviour
{
    [SerializeField] Button homeTv;
    [SerializeField] Button popUp;
    void Start()
    {
        homeTv.onClick.AddListener(()=>
        {
            popUp.gameObject.SetActive(true);
        });
    }


}

+ Recent posts