Watson Developer Cloud Unity SDK  1.0.0
The Unity SDK uses the Watson Developer Cloud services, a collection of REST APIs and SDKs that use cognitive computing to solve complex problems.
IBM.Watson.DeveloperCloud.Utilities.SerializedDelegate Class Reference

This class allows for a delegate to be serialized for a component and method on a given GameObject. More...

Public Member Functions

 SerializedDelegate (Type delegateType)
 Default constructor. More...
 
Delegate ResolveDelegate ()
 This resolves the actual delegate for invoke. More...
 

Properties

Type DelegateType [get]
 The delegate type of the method. More...
 
GameObject TargetGameObject [get]
 Target Game Object to invoke the callback under selected component More...
 

Detailed Description

This class allows for a delegate to be serialized for a component and method on a given GameObject.

Constructor & Destructor Documentation

IBM.Watson.DeveloperCloud.Utilities.SerializedDelegate.SerializedDelegate ( Type  delegateType)
inline

Default constructor.

Parameters
delegateTypeThe delegate type.

Member Function Documentation

Delegate IBM.Watson.DeveloperCloud.Utilities.SerializedDelegate.ResolveDelegate ( )
inline

This resolves the actual delegate for invoke.

Returns
Returns a delegate or null if the delegate can't be resolved.

Property Documentation

Type IBM.Watson.DeveloperCloud.Utilities.SerializedDelegate.DelegateType
get

The delegate type of the method.

GameObject IBM.Watson.DeveloperCloud.Utilities.SerializedDelegate.TargetGameObject
get

Target Game Object to invoke the callback under selected component


The documentation for this class was generated from the following file: