Registers the update method to be used with the custom follower on the component
Namespace: BigBangProductions.CurveRuntimeAssembly: BigBangProductions.CurveRuntime (in BigBangProductions.CurveRuntime.dll) Version: 1.0.0.0 (1.0.0.0)
public static void RegisterUpdateMethod(
Component component,
Action<float> onUpdate
)
public static void RegisterUpdateMethod(
Component component,
Action<float> onUpdate
)
Public Shared Sub RegisterUpdateMethod (
component As Component,
onUpdate As Action(Of Single)
)
Public Shared Sub RegisterUpdateMethod (
component As Component,
onUpdate As Action(Of Single)
)
public:
static void RegisterUpdateMethod(
Component^ component,
Action<float>^ onUpdate
)
public:
static void RegisterUpdateMethod(
Component^ component,
Action<float>^ onUpdate
)
Parameters
- component
- Type: Component
the component where the CustomFollower is attached
- onUpdate
- Type:
System Action
Single
the on update method delegate to register