Manager Classes in Unity

Static classes to manage cross talk

Manager classes allow us to create middle men that allow our scripts to operate independently from one another. For example, yesterdays article utilized the GameManager class to allow several different scripts to know if the player had a keycard or not without any of the other scripts knowing about each other.

--

--

Turning my passion for video games and 11 years of software development experience into a focus on video game development using Unity3D.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
James West

Turning my passion for video games and 11 years of software development experience into a focus on video game development using Unity3D.