Skip to content

Commit 3fa7c03

Browse files
committed
Call init on plugin load
1 parent 398474a commit 3fa7c03

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

NativeTime.Plugin/NativeTime.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ extern "C" void UNITY_INTERFACE_EXPORT UNITY_INTERFACE_API
1414
UnityPluginLoad(IUnityInterfaces * unityInterfaces)
1515
{
1616
s_UnityInterfaces = unityInterfaces;
17+
18+
// Initialise the plugin
19+
Init();
1720
}
1821

1922
// Unity plugin unload event
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "com.strangeloopgames.nativetime",
33
"displayName": "NativeTime",
4-
"version": "0.1.5",
4+
"version": "0.1.6",
55
"unity": "2020.3",
66
"author": {
77
"name": "Strange Loop Games",

0 commit comments

Comments
 (0)