We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f305e14 commit 9315e2cCopy full SHA for 9315e2c
module/source/types/unity-provider.d.ts
@@ -12,7 +12,12 @@ type UnityProvider = Pick<
12
/**
13
* Sets the Unity Context's loaded state.
14
*/
15
- readonly setIsLoaded?: (isLoaded: boolean) => void;
+ readonly setIsLoaded: (isLoaded: boolean) => void;
16
+
17
+ /**
18
+ * Sets the Unity Context's initialisation error.
19
+ */
20
+ readonly setInitialisationError: (error?: Error) => void;
21
};
22
23
export type { UnityProvider };
0 commit comments