コード例 #1
0
        internal void Reset()
        {
            if (m_SerialId <= 0)
            {
                throw new InvalidOperationException("Already reset.");
            }

            m_AssetCache.RemoveAccessor(this);
            ResetCallbacks();

            m_AssetCache.ReduceRetainCount();
            m_AssetCache = null;
            m_SerialId   = 0;
        }