UnRegisterDownloadDelegate() приватный Метод

private UnRegisterDownloadDelegate ( ScriptableObject d ) : void
d ScriptableObject
Результат void
Пример #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;
 }
Пример #2
0
 public void OnDisable()
 {
     AssetStoreAsset.PreviewInfo previewInfo = (this.m_Asset != null) ? this.m_Asset.previewInfo : null;
     if (previewInfo != null)
     {
         previewInfo.downloadProgress = -1f;
         previewInfo.buildProgress    = -1f;
     }
     AssetStoreUtils.UnRegisterDownloadDelegate(this);
     this.m_Purchasing = AssetStoreInstaBuyWindow.PurchaseStatus.Init;
 }
Пример #3
0
 public void OnDisable()
 {
     EditorApplication.update = (EditorApplication.CallbackFunction)Delegate.Remove(EditorApplication.update, new EditorApplication.CallbackFunction(this.Update));
     if (this.m_PreviewEditor != null)
     {
         this.m_PreviewEditor.Dispose();
         this.m_PreviewEditor = null;
     }
     if (this.m_PreviewObject != null)
     {
         this.m_PreviewObject = null;
     }
     AssetStoreUtils.UnRegisterDownloadDelegate(this);
 }
Пример #4
0
 public void OnDisable()
 {
     EditorApplication.update -= Update;
     if (m_PreviewEditor != null)
     {
         m_PreviewEditor.Dispose();
         m_PreviewEditor = null;
     }
     if (m_PreviewObject != null)
     {
         m_PreviewObject = null;
     }
     AssetStoreUtils.UnRegisterDownloadDelegate(this);
 }
 public void OnDisable()
 {
     EditorApplication.update -= new EditorApplication.CallbackFunction(this.Update);
     if (this.m_PreviewEditor != null)
     {
         this.m_PreviewEditor.Dispose();
         this.m_PreviewEditor = (EditorWrapper)null;
     }
     if (this.m_PreviewObject != (Object)null)
     {
         this.m_PreviewObject = (Object)null;
     }
     AssetStoreUtils.UnRegisterDownloadDelegate((ScriptableObject)this);
 }
Пример #6
0
 public void OnDisable()
 {
     AssetStoreUtils.UnRegisterDownloadDelegate(this);
 }
Пример #7
0
 public void OnDisable()
 {
     EditorApplication.update -= TrackFocusState;
     AssetStoreUtils.UnRegisterDownloadDelegate(this);
 }
Пример #8
0
 public void OnDisable()
 {
     AssetStoreUtils.UnRegisterDownloadDelegate((ScriptableObject)this);
 }