Skip to content

Commit c0b682d

Browse files
Change init description to provide an example
1 parent 6864ec6 commit c0b682d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

OneSignalExample/Assets/OneSignal/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ You can find a complete implementation in our included [example MonoBehaviour](E
100100
[sample scene](Example/Scenes/OneSignalExampleScene.unity) which you can run to test out the SDK.
101101
102102
### Initialization
103-
To get started add the following code in an appropriate place as your application is starting up.
103+
To get started add the following code in an appropriate place such as the `Start` method of a `MonoBehaviour` early in your application's lifecycle.
104104
```C#
105105
// Replace 'YOUR_ONESIGNAL_APP_ID' with your OneSignal App ID from app.onesignal.com
106106
OneSignal.StartInit("YOUR_ONESIGNAL_APP_ID").EndInit();

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ You can find a complete implementation in our included [example MonoBehaviour](O
100100
[sample scene](OneSignalExample/Assets/OneSignal/Example/Scenes/OneSignalExampleScene.unity) which you can run to test out the SDK.
101101
102102
### Initialization
103-
To get started add the following code in an appropriate place as your application is starting up.
103+
To get started add the following code in an appropriate place such as the `Start` method of a `MonoBehaviour` early in your application's lifecycle.
104104
```C#
105105
// Replace 'YOUR_ONESIGNAL_APP_ID' with your OneSignal App ID from app.onesignal.com
106106
OneSignal.StartInit("YOUR_ONESIGNAL_APP_ID").EndInit();

0 commit comments

Comments
 (0)