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; }
public static Bugsnag createBugsnagInstance(GameObject gameObject, String ApiKey) { Bugsnag.SetApiKey(ApiKey); Bugsnag bugsnagInstance = gameObject.AddComponent <Bugsnag>(); bugsnagInstance.Init(); return(bugsnagInstance); }