Skip to content

Update callback registration to remove deprecation #20

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

Merged
merged 1 commit into from
Jan 21, 2016

Conversation

kattrali
Copy link
Contributor

Application.RegisterLogCallback was deprecated in Unity 5 in favor of
Application.logMessageReceived. This change updates the core and
example by checking the version of Unity in use and switching the
logging behavior accordingly.

Reference:

Fixes #19

`Application.RegisterLogCallback` was deprecated in Unity 5 in favor of
`Application.logMessageReceived`. This change updates the core and
example by checking the version of Unity in use and switching the
logging behavior accordingly.

Reference:

* http://docs.unity3d.com/ScriptReference/Application-logMessageReceived.html
* http://docs.unity3d.com/412/Documentation/ScriptReference/Application.RegisterLogCallback.html
* http://docs.unity3d.com/Manual/PlatformDependentCompilation.html

Fixes #19
@snmaynard
Copy link
Contributor

LGTM

@snmaynard snmaynard closed this Jan 21, 2016
@snmaynard snmaynard reopened this Jan 21, 2016
@snmaynard
Copy link
Contributor

:derp:

@kattrali
Copy link
Contributor Author

lol merging is fine 👍

kattrali added a commit that referenced this pull request Jan 21, 2016
…tion

Update callback registration to remove deprecation
@kattrali kattrali merged commit b3d0f6c into master Jan 21, 2016
@kattrali kattrali deleted the kattrali/remove-handlelog-deprecation branch January 21, 2016 17:48
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