Ah yeah, i use that often. I usually name it "State" though, since it holds the program's state :-P
An article by a developer at indiePub titled "Game Programming Tips: The benefit of a BlackBoard class" (does not apply just to Unity):
http://www.indiepubgames.com/news/ga...rd_class_unity
Ah yeah, i use that often. I usually name it "State" though, since it holds the program's state :-P
We use the MVC pattern usually so I guess that would be the controller. Same basic principle I think.
Co-founder of Lost Decade Games, HTML5 game studio in Silicon Valley.