gotoLogo.cs 407 B

123456789101112131415161718192021222324
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using UnityEngine.SceneManagement;
  5. public class gotoLogo : MonoBehaviour
  6. {
  7. // Start is called before the first frame update
  8. void Start()
  9. {
  10. }
  11. public void GotoLogo()
  12. {
  13. SceneManager.LoadScene("Logo");
  14. }
  15. // Update is called once per frame
  16. void Update()
  17. {
  18. }
  19. }