コード例 #1
0
ファイル: PrecacheOperation.cs プロジェクト: hadipp/flyVR
 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);
            }
        }