Search Unity

Bug Button Play

Discussion in 'Scripting' started by Monaliza2020, Sep 20, 2021.

  1. Monaliza2020

    Monaliza2020

    Joined:
    Sep 20, 2021
    Posts:
    1
    Good night people!

    Could someone help me please.

    I scripted basic commands to press play and switch screens. But it's not working, follow the code below. Has this command changed?

    public class comandosBasicos : MonoBehaviour
    {
    public void CarregarCena()
    {
    UnityEngine.SceneManagement.SceneManager.LoadScene("temas");
    }


    }