Posts by Emerson Barbosa • 33 points
4 posts
-
0
votes2
answers1639
viewsA: How to Instantiate an Object in C#
Here: public class CenaCozinha : MonoBehaviour { //Os Alimentos public GameObject Alimento; public GameObject Agua; public List<Alimentos> alimentosCozinha = new List<Alimentos>(); void…
-
2
votes2
answers1639
viewsQ: How to Instantiate an Object in C#
How do I instantiate an Object in another class? I’m trying this way: GameObject Cozinha = new GameObject("CenaCozinha"); CenaCozinha coz = Cozinha.AddComponent<CenaCozinha>(); But I believe…
-
0
votes2
answers289
viewsQ: Add Object to a List with C#
My objects are apparently being added to my list, but when I call the list in update() it does not perform as expected. public class CenaCozinha : MonoBehaviour { //Os Alimentos public GameObject…
-
0
votes0
answers177
viewsQ: POST in Reactjs with Object included, how to do?
I need to register for course instructors, in which each instructor will have a course. How do I? I’m doing it this way and it’s not going: PS.: the variable name and email receive a variable in…