Hey Ya'll, I recently wrote a little article to promote my new Kickstarter campaign. I figure that offering people substance is a better way of doing that than spamming them.
Anyway, I've been coding in Unity for a few years now and here are some of the useful things that I've picked up:
Good article, thanks! I caught myself doing a lot of the following:
GameManager gameManager; and in my Start() I would do:
gameManager GameObject.FindOfType(typeof(GameManager)) as GameManager which is really ugly looking compared to what you did, so thanks . I always had heard about the singleton stuff but never really looked into it. Still learning I guess.
Replies
GameManager gameManager; and in my Start() I would do:
gameManager GameObject.FindOfType(typeof(GameManager)) as GameManager which is really ugly looking compared to what you did, so thanks . I always had heard about the singleton stuff but never really looked into it. Still learning I guess.