Skip to content

Commit aec111f

Browse files
authored
Document script execution order
1 parent d78ec8c commit aec111f

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@ To use Bugfender in your Unity project, follow these steps:
1010
* You can use the Bugfender.Log() method to write logs.
1111

1212
If you use Bugfender in a platform other than iOS or Android, any calls to Bugfender will be just ignored but other than that, your application will keep working as usual. Please note the WebGL platform is currently not supported yet, although we plan to support it in the future.
13-
13+
14+
### Script Execution Order
15+
Bugfender is provided as a Prefab that you can drop into your project. Before using Bugfender, the `Start()` method of the Prefab needs to be called, so you can ensure it's available before your scripts start running by setting a **Script Execution Order** in your **Project Settings**, like so:
16+
17+
![Script Execution Order](https://user-images.githubusercontent.com/864706/220148469-91455103-32d7-46fc-be27-c718f86dc930.png)
18+
1419
## How to update the libraries
1520

1621
To update the Android library:

0 commit comments

Comments
 (0)