diff --git a/Runtime/MixedReality/VarjoMixedReality.cs b/Runtime/MixedReality/VarjoMixedReality.cs index b3d1779..6432534 100644 --- a/Runtime/MixedReality/VarjoMixedReality.cs +++ b/Runtime/MixedReality/VarjoMixedReality.cs @@ -429,7 +429,7 @@ internal static bool StartDataStream(VarjoStreamType type, VarjoStreamCallback c { if (!IsMRReady()) return false; var customAttribs = callback.Method.CustomAttributes.Where(a => a.AttributeType.FullName.Equals("AOT.MonoPInvokeCallbackAttribute")); - if (customAttribs.Count() == 0) + if (customAttribs.Any()) { Debug.LogError($"{callback.Method} is missing the [AOT.MonoPInvokeCallback] attribute"); return false;