Пример #1
0
 void Awake()
 {
     Instance = this;
     if (cylinderCache == null)
     {
         cylinderCache = Utility.uiRoot.gameObject.transform.FindChild("Camera").FindChild("CylinderCache");
     }
 }
Пример #2
0
 void OnDestroy()
 {
     Instance = null;
 }