AirConsole / airconsole-unity-plugin

A plugin for Unity to develop for AirConsole
http://developers.airconsole.com/#/guides/unity
GNU Lesser General Public License v3.0
69 stars 19 forks source link

onPause & onResume are not called from main unity thread #63

Closed bbeinder closed 3 months ago

bbeinder commented 3 months ago

Is there a specific reason why the onPause and onResume invocation are not done via the eventQueue as all the others?

https://github.com/AirConsole/airconsole-unity-plugin/blob/b1c86de4fb1797f81d654051e6d61cc8c310b786/Assets/AirConsole/scripts/AirConsole.cs#L1615-L1645

marc-n-dream commented 3 months ago

If there was ever a reason it has been lost in time from back in Unity 2017 / 2018 where WebGL was the primary export.

I do definitely not see a technical reason why it should remain that way and will merge it into v2.5.1