For example, using SubscribeToText method helps to subscribe an IObservable to a Unity Text component.
One useful design pattern in game development is the State design pattern. It can be used in various occasions from player input to enemy AI.
We can manage all the states using a Finite State Machine. With a FSM we have distinct finite states that we can transition to, but having only one state enabled at any given time.
In our example we will implement a Game Manager, that controls our game states in Unity, using Zenject framework. Zenject is Dependency Injection Framework for Unity 3D.
So you have made your Console Applications for some time now and even created a simple text adventure game. But it’s now time to get your coding skills to the next level. A good way to start game development, is to create a simple game like Pong or Pickin’ Sticks. Forget about making the next MMORPG or FPS Blockbuster, you have to take small steps at a time.