Singletone checking for Unity3d script