Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add iOS and Android Unity pause/resume functions #13

Merged
merged 1 commit into from
May 9, 2018
Merged

Add iOS and Android Unity pause/resume functions #13

merged 1 commit into from
May 9, 2018

Conversation

wezzle
Copy link

@wezzle wezzle commented May 8, 2018

When not showing the Unity View you might want to pause the Unity player so battery drain is minimalized. This pull request adds iOS and Android code to pause the player and updates the react UnityView to include a pause and resume function.

@f111fei
Copy link
Owner

f111fei commented May 9, 2018

Thanks. I will confirm this PR.

@f111fei f111fei self-requested a review May 9, 2018 02:04
@f111fei f111fei merged commit f3491a9 into f111fei:master May 9, 2018
@wezzle wezzle deleted the feat/pause-resume branch May 9, 2018 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants