private void InvokeMeshReadyDelegate( MeshGenerationResult result, Action <MeshGenerationResult> onMeshGenerationComplete) { if (onMeshGenerationComplete != null) { onMeshGenerationComplete(result); } }
private void InvokeMeshReadyDelegate(MeshGenerationResult result, Action <MeshGenerationResult> onMeshGenerationComplete) { bool flag = onMeshGenerationComplete != null; if (flag) { onMeshGenerationComplete(result); } }