internal static bool ShouldRunUpdate(NativeInputUpdateType updateType) { NativeShouldRunUpdateCallback callback = onShouldRunUpdate; if (callback != null) { return(callback(updateType)); } return(false); }
internal static bool ShouldRunUpdate(NativeInputUpdateType updateType) { NativeShouldRunUpdateCallback callback = onShouldRunUpdate; if (callback != null) { return(callback(updateType)); } // Transitional code path. Remove this when we have onShouldRunUpdate implemented // in the supported input package versions. return(ShouldUpdateFallback(updateType)); }
internal static void ShouldRunUpdate(NativeInputUpdateType updateType, out bool retval) { NativeShouldRunUpdateCallback callback = onShouldRunUpdate; retval = callback != null?callback(updateType) : false; }