A useful implementation of the singleton pattern for Unity3d