Пример #1
0
 internal void NotifyComplete(PrecacheOperationResult result)
 {
     if (m_completionCallback != null)
     {
         m_completionCallback(result);
     }
 }
Пример #2
0
        private void NotifyPrecacheOperationCompleted(int operationId, PrecacheOperationResult result)
        {
            PrecacheOperation operation;

            if (m_precacheOperations.TryGetValue(operationId, out operation))
            {
                m_precacheOperations.Remove(operationId);
                operation.NotifyComplete(result);
            }
        }