Skip to content

Init() to support runtime addition of Bugsnag component to existing GameObject #34

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
Nov 17, 2016

Conversation

TimothyKLambert
Copy link
Contributor

I created a public Init() method so the Bugsnag component can be added to an existing GameObject and initialized at runtime with a variable API key instead of predefined set through the Inspector.

We need this for our SDK because we support multiple API keys that can change for each project that uses our SDK so having to set the API key through the inspector before hand breaks our integration flow.

…an existing object and initialized at runtime with a variable key instead of one set through the Inspector.
@CodeHex
Copy link
Contributor

CodeHex commented Nov 17, 2016

Thanks for the contribution @TimothyKLambert, this looks good!

@CodeHex CodeHex merged commit ab9a6c9 into bugsnag:master Nov 17, 2016
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