he talk alot about states. are states what we restore from restore state and components we get from other classes? googled it but found nothing.
Basically speaking, a state is the values of variables, positions of objects etc. at a particular point of time.
Contextually speaking… That’s another question… and it depends on the context.
This is in the context of what things should be in Awake() vs Start() in your project.
State in this context is everything being initialized and values within the script representing the actual state of the game…
For example: In Health.cs, the state is the current health. This is the key thing that the health component tracks…
thnx for clearing that up guys!
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.