UWHandlerGameObject is a game object that contains a reference to an instance of UWProxyEventHandler. UWProxyEventHandler acts as a proxy between c# and the native [android (java) or ios (obj-c)] event listeners.
More...
|
class | UWProxyEventHandler |
| UWProxyEventHandler acts as a proxy event handler for all supported UserWise unity runtime platforms. Both native android and ios code will call the methods below via the UnityPlayer.UnitySendMessage method. Which in turn forwards calls to the UserWise instance surveyEvents methods. More...
|
|
|
static readonly string | GAME_OBJECT_NAME = "UserWiseGameObject" |
|
UWHandlerGameObject is a game object that contains a reference to an instance of UWProxyEventHandler. UWProxyEventHandler acts as a proxy between c# and the native [android (java) or ios (obj-c)] event listeners.
◆ AttachGameObjectToNativeListener()
static void UserWiseSDK.Common.Unity.UWHandlerGameObject.AttachGameObjectToNativeListener |
( |
| ) |
|
|
inlinestatic |
Connects our game object to our native listener.
- See also
- UWProxyEventHandler for information on native listeners.
◆ DetachGameObjectFromNativeListener()
static void UserWiseSDK.Common.Unity.UWHandlerGameObject.DetachGameObjectFromNativeListener |
( |
| ) |
|
|
inlinestatic |
Disconnects our game object from our native listener.
- See also
- UWProxyEventHandler for information on native listeners.
◆ GetEnsuredMonoBehaviour()
MonoBehaviour UserWiseSDK.Common.Unity.UWHandlerGameObject.GetEnsuredMonoBehaviour |
( |
| ) |
|
|
inline |
Returns our game object's UWProxyEventHandler component which is a MonoBehaviour
- Returns
- MonoBehaviour
The documentation for this class was generated from the following file:
- userwise_sdk_source/userwise_sdk/Common/Unity/UWHandlerGameObject.cs