Пример #1
0
        public static CZip Create()
        {
            var gameObj = new GameObject("ZipObject");

            uZip = gameObj.AddComponent <CZip>();
            return(uZip);
        }
Пример #2
0
 public void OnDispose()
 {
     mZips.Clear();
     if (uZip != null)
     {
         GameObject.Destroy(uZip.gameObject);
     }
     uZip = null;
 }