Init() public method

public Init ( string apiKey ) : void
apiKey string
return void
 public static Bugsnag createBugsnagInstance(GameObject gameObject, String ApiKey, bool autoCaptureSessions) {
     Bugsnag.SetApiKey(ApiKey);
     Bugsnag.SetAutoCaptureSessions(autoCaptureSessions);
     Bugsnag bugsnagInstance = gameObject.AddComponent<Bugsnag>();
     bugsnagInstance.Init();
     return bugsnagInstance;
 }
示例#2
0
    public static Bugsnag createBugsnagInstance(GameObject gameObject, String ApiKey)
    {
        Bugsnag.SetApiKey(ApiKey);
        Bugsnag bugsnagInstance = gameObject.AddComponent <Bugsnag>();

        bugsnagInstance.Init();
        return(bugsnagInstance);
    }