I need help on how to make gui and what do i need to do to get something like this
1 Answer
1This is how I would do it.
- I would first layout everything with
Unity’s new UI system. - Then I would have a monobehavior class with a
public object field for every UI
object that should be updated - Create an empty object and apply the script on it.
- Drag all the UI objects to the right object field in the inspector.
- In you monobehaviour class, create a method that will run when the button next turn is done.
- That method will then run the simulation methods you have and then update the UI which you can access like any other object.