FindGameObj.cs 408 B

12345678910111213141516
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class FindGameObj : MonoBehaviour
  5. {
  6. // Start is called before the first frame update
  7. public GameObject showGame;
  8. public GameObject heidGames1, heidGames2;
  9. public void FindScanes()
  10. {
  11. showGame.SetActive(true);
  12. heidGames1.SetActive(false);
  13. heidGames2.SetActive(false);
  14. }
  15. }