`public class AulaSwitch : MonoBehaviour
{
public int diaSemana;
// Start is called before the first frame update
void Start()
{
switch (diaSemana)
{
case 1:
Debug.Log("Segunda-Feira");
}
}
// Update is called once per frame
void Update()
{
}
}`
I tried to correct the code several times and i dont feel like i have written something that could lead to a bug
New contributor
jakendry11 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1