UnRegisterDownloadDelegate() private method

private UnRegisterDownloadDelegate ( ScriptableObject d ) : void
d ScriptableObject
return 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);
 }
コード例 #5
0
 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);
 }