How to make a simulator/tycoon

I need help on how to make gui and what do i need to do to get something like this54201-download.jpg

1 Answer

1

This is how I would do it.

  1. I would first layout everything with
    Unity’s new UI system.
  2. Then I would have a monobehavior class with a
    public object field for every UI
    object that should be updated
  3. Create an empty object and apply the script on it.
  4. Drag all the UI objects to the right object field in the inspector.
  5. In you monobehaviour class, create a method that will run when the button next turn is done.
  6. That method will then run the simulation methods you have and then update the UI which you can access like any other object.