FPSWait.cs 574 Bytes
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class FPSWait : MonoBehaviour
{
    Canvas start;
    GameObject _fps;
    // Start is called before the first frame update
    void Start()
    {
        _fps = GameObject.Find("FPS Controller");
        start = GameObject.Find("StartCanvas").GetComponent<Canvas>();

        _fps.SetActive(false);
    }

    // Update is called once per frame
    void Update()
    {
        
    }

    public void SetActive_fps()
    {
        _fps.SetActive(true);
    }
}