Hey,
I’m loving this course so far but I have a concern. I come from a programming background and the Unity interface is my biggest obstacle so far. My main issue is in how we initialize the instance variables we created for AdventureGame.cs
We have to first create the objects in the scene from Unity, then declare their components in VS as instance variables, then initialize them by dragging objects in Unity, then define what these objects will do in VS. All this bouncing back and forth is honestly just horrible.
Is there a way to at least do the 3rd step inside VS by using the scene objects directly?
So basically instead of writing the 2 following lines of code and then initializing them through the Unity UI:
[SerializeField] Text textComponent;
[SerializeField] State startingState;
I instead write:
private Text textComponent = StoryText; // The text object created under canvas
private State startingState = StartingState; // The scriptable object created using the State class
It would make things significantly less confusing to me if I don’t have to bounce back and forth as often. I tried searching but couldn’t find an answer to this weird question of mine. Thanks and apologies for the hassle. Again, I really appreciate all the work you guys have put into your courses. Amazing work, really!