UnityNativeTool - Stub UnityInterfaces¶
A one file library that gets us the pointer to the UnityInterfaces. This library is not mocked.
Functions
-
void
UnityPluginLoad
(IUnityInterfaces *unityInterfaces) Called when the plugin is loaded, this can be after/before Initialize()
Declared in IUnityInterface.h
- Parameters
unityInterfaces
: Unity class for accessing minimal Unity functionality exposed to C++ Plugins
-
IUnityInterfaces *
GetUnityInterfacesPtr
()¶ Allow us to retrieve this pointer from C#, so that we can manually call
UnityPluginLoad()
for mocked libraries
Variables
-
IUnityInterfaces *
s_IUnityInterfaces
= NULL¶