Example #1
0
 public BundleRef(ABLoaderInstance owner, string name, AssetBundle bundle)
 {
     m_Owner  = owner;
     Name     = name;
     m_Bundle = bundle;
     Log.Trace("[ilib-abloader] create BundleRef {0}.", Name);
 }
Example #2
0
 internal void Init(ILoadOperator loadOperator, string name, string hash, uint crc, ABLoaderInstance owner)
 {
     m_LoadOperator = loadOperator;
     Name           = name;
     Hash           = hash;
     CRC            = crc;
     m_Owner        = owner;
 }
Example #3
0
 internal BundleContainer(string name, int depLength, ABLoaderInstance owner)
 {
     m_Owner     = owner;
     Name        = name;
     m_DepLength = depLength;
     if (depLength > 0)
     {
         m_Deps = new BundleRef[depLength];
     }
 }
Example #4
0
 public virtual void Reset()
 {
     m_Owner   = null;
     OnSuccess = null;
     OnFail    = null;
     m_Hander  = null;
     Name      = null;
     Hash      = null;
     CRC       = 0;
     IsRunning = false;
 }