Search Unity

[C# tutorial] using Singletons to get global access and force uniqueness

Discussion in 'Community Learning & Teaching' started by paskal007r, Dec 13, 2016.

  1. paskal007r

    paskal007r

    Joined:
    Sep 6, 2013
    Posts:
    68
    Ever needed to have a globally accessible script?
    One that must not be duplicated at all costs?
    Want to make one just by inheriting with a few characters?
    Here's the tutorial for you, where you'll solve all these problems with something called "Singleton":
    http://brightreasongames.com/the-singleton-post/