UnityEditor.AssetStoreUtils.UnRegisterDownloadDelegate C# (CSharp) Method

UnRegisterDownloadDelegate() private method

private UnRegisterDownloadDelegate ( ScriptableObject d ) : void
d ScriptableObject
return void
        public static extern void UnRegisterDownloadDelegate(ScriptableObject d);
        [MethodImpl(MethodImplOptions.InternalCall)]

Usage Example

Example #1
0
 public void OnDisable()
 {
     AssetStoreAsset.PreviewInfo info = m_Asset == null ? null : m_Asset.previewInfo;
     if (info != null)
     {
         info.downloadProgress = -1f;
         info.buildProgress    = -1;
     }
     AssetStoreUtils.UnRegisterDownloadDelegate(this);
     m_Purchasing = PurchaseStatus.Init;
 }
All Usage Examples Of UnityEditor.AssetStoreUtils::UnRegisterDownloadDelegate