Skip to content

Commit 9598dfa

Browse files
Flush() syntax fix - Update unity.mdx (#1919)
Flush() syntax fix for Unity Docs Co-authored-by: myronkaifung <[email protected]>
1 parent 7d1b65b commit 9598dfa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pages/docs/tracking-methods/sdks/unity.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,12 @@ Mixpanel.Track("Image Upload");
9292
### Flushing Events
9393
To preserve battery life and customer bandwidth, the Mixpanel library doesn’t send the events you record immediately. Instead, it sends batches to the Mixpanel servers every 60 seconds while your application is running, as well as when the application transitions to the background.
9494

95-
Call [`Mixpanel.FlushQueue()`](https://mixpanel.github.io/mixpanel-unity/api-reference/classmixpanel_1_1_mixpanel.html#a0af296d8b284355bbc4c6b7d556be5d7) manually if you want to force a flush at a particular moment.
95+
Call Mixpanel.Flush() manually if you want to force a flush at a particular moment.
9696

9797
**Example Usage**
9898
```csharp
9999
Upload queued data to the Mixpanel server
100-
Mixpanel.FlushQueue();
100+
Mixpanel.Flush();
101101
```
102102

103103
**Flush Interval**

0 commit comments

Comments
 (0)