Exemplo n.º 1
0
 void Awake()
 {
     Instance = this;
     if (numCache == null)
     {
         numCache = Utility.uiRoot.gameObject.transform.FindChild("Camera").FindChild("NumCache");
     }
 }
Exemplo n.º 2
0
 void OnDestroy()
 {
     Instance = null;
 }