Urho.Node.AddComponent Method

Add a pre-created component.

Syntax

public Void AddComponent (Component component, UInt32 id, CreateMode mode)

Parameters

component
Component to add.
id
ID to assign to the component, if zero, the Scene will assign the ID automatically.
mode
Component and child node creation mode for networking.

Requirements

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