Skip to content

Commit

Permalink
fix: fixed directive
Browse files Browse the repository at this point in the history
  • Loading branch information
momintlh committed Nov 26, 2024
1 parent b207723 commit 61caacf
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Assets/PlayroomKit/modules/Player/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -144,16 +144,14 @@ public void InvokePlayerOnQuitCallback()
{
playerService.InvokePlayerOnQuitCallback(id);
}
#elif UNITY_EDITOR
#endif

#if UNITY_EDITOR
else if (_playerService is BrowserMockPlayerService playerService2)
{
playerService2.InvokePlayerOnQuitCallback(id);
}
#endif
else
{
Debug.LogWarning("InvokePlayerOnQuitCallback is only supported on build");
}
}


Expand Down

0 comments on commit 61caacf

Please sign in to comment.