ComponentCreateComponent Method (Type, Int32, Boolean, Boolean, NetworkModeEnum) |
Creates a child component.
Namespace:
NeoAxis
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public Component CreateComponent(
Type classType,
int insertIndex = -1,
bool enabled = true,
bool setUniqueName = false,
NetworkModeEnum networkMode = NetworkModeEnum.True
)
Parameters
- classType
- Type: SystemType
- insertIndex (Optional)
- Type: SystemInt32
- enabled (Optional)
- Type: SystemBoolean
- setUniqueName (Optional)
- Type: SystemBoolean
- networkMode (Optional)
- Type: NeoAxisNetworkModeEnum
Return Value
Type:
ComponentSee Also