The SceneManager is responsible for handling scene loading and progressively loading levels. The framework also includes a robust menu system, explained in this post. Read more [...]
While Unity is amazingly easy for developers to set up new projects in and start hacking a prototype, eventually a developer realizes there are common elements to the games he or she creates. Such a developer then begins to develop a manager script containing the very basic components a game might require in the hopes that this will speed up the development of prototypes. As of recently, I am such a developer, and in this post I describe a BaseGameManager script and why it is useful to develop a game using the manager -> controller model. Read more [...]
If you're using a function like Physics2D.OverlapCircle() or Physics2D.OverlapArea(), here's a way to convert a layermask to an int you can pass in as argument. Read more [...]
We use cookies to enhance your experience while using our website. If you are using our Services via a browser you can restrict, block or remove cookies through your web browser settings. We also use content and scripts from third parties that may use tracking technologies. You can selectively provide your consent below to allow such third party embeds. For complete information about the cookies we use, data we collect and how we process them, please check our Privacy Policy