private void OnComplete() { m_args.CompletionCallback(m_args.Cell, m_result); m_args = default(Args); m_result = null; m_instancePool.Deallocate(this); }
private void OnComplete() { ProfilerShort.Begin("MyOreDetectorComponent - OnComplete"); m_args.CompletionCallback(m_args.Cell, m_result); m_args = default(Args); m_result = null; m_instancePool.Deallocate(this); ProfilerShort.End(); }