
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
리트라이 버튼도 작동을 안하는데 이유를 모르겠습니다
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameManager : MonoBehaviour
{
public static GameManager Instance;
public GameObject NomalCat;
public GameObject RetryBtn;
private void Awake()
{
if (Instance == null)
{
Instance = this;
}
Application.targetFrameRate = 60;
}
// Start is called before the first frame update
void Start()
{
InvokeRepeating("MakeCat", 0f, 1f);
}
// Update is called once per frame
void Update()
{
}
void MakeCat()
{
Instantiate(NomalCat);
}
public void GameOver()
{
RetryBtn.SetActive(true);
}
}
스타트 버튼은 작동을 하는데 일정 위치에서 버튼이 안나타나요
