Пример #1
0
 public void Init(AsyncOperationHandle <TObjectDependency> dependentOp, Func <AsyncOperationHandle <TObjectDependency>, AsyncOperationHandle <TObject> > callback)
 {
     m_DepOp = dependentOp;
     m_DepOp.Acquire();
     m_Callback = callback;
 }
Пример #2
0
 /// <summary>
 /// Increment reference count of operation handle.
 /// </summary>
 /// <param name="handle">The handle to the resource to increment the reference count for.</param>
 public void Acquire(AsyncOperationHandle handle)
 {
     handle.Acquire();
 }