Пример #1
0
        //获取离线数据OfflineData
        public OfflineData FindOfflineData(GameObject obj)
        {
            OfflineData    offlineData = null;
            GameObjectItem item        = null;

            if (m_gameObjectItemDict.TryGetValue(obj.GetInstanceID(), out item) && item != null)
            {
                offlineData = item.OfflineData;
            }
            return(offlineData);
        }
Пример #2
0
 public void Reset()
 {
     Crc                = 0;
     Obj                = null;
     Clear              = true;
     Guid               = 0;
     ResourceItem       = null;
     AlreadyRelease     = false;
     SetSceneParent     = false;
     OfflineData        = null;
     DealFinishCallback = null;
     Param1             = Param2 = Param3 = null;
 }