Urho.Node.SubscribeToBoneHierarchyCreated Method

Subscribes to the BoneHierarchyCreated event raised by the Node.

Syntax

public Subscription SubscribeToBoneHierarchyCreated (Action<BoneHierarchyCreatedEventArgs> handler)

Parameters

handler
The handler to invoke when this event is raised.

Returns

Returns an Urho.Subscription that can be used to cancel the subscription.

Remarks

This method will override any prior subscription, including those assigned to on event handlers.

This has the advantage that it does a straight connection and returns a handle that is easy to unsubscribe from.

For a more event-like approach, use the Node.BoneHierarchyCreated event.

Requirements

Namespace: Urho
Assembly: Urho (in Urho.dll)
Assembly Versions: 1.0.0.0