Click or drag to resize

Component

CommonManual / Base Types / Common / ComponentText File

Component

Component class is a base class of all components.

Properties
Name Description
Created By Base Type Whether the object is created using a base type.
Editor Document Configuration Gets or sets the configuration data of the object's settings in the editor.
Enabled Whether the component is enabled. See also EnabledInHierarchy property.
Enabled In Hierarchy Determines whether the object is attached to a hierarchy of the components and enabled. The object will be enabled only when all parents are enabled, and the property Enabled is enabled.
Save Support Whether the object supports saving to a file.
Clone Support Whether the object supports cloning.
Components Gets the collection of the child components.
String) Finds a child component by path.
Count Gets the number of child components.
Is Read Only Is the collection read only. Always returns false.
Sync Root Gets the object to be synchronized for multi-threaded operation.
Is Synchronized Is the collection synchronized. Always returns false.
Parent Gets the parent object.
Parent Root Gets the parent root object.
Name The name of the component.
Screen Label Sets the display of the on-screen label of the object in the scene editor.
Remove From Parent Queued Whether the object is placed in the detach queue from the parent.
Hierarchy Controller Gets the object hierarchy control controller.
Base Type Gets the base type of the object.
Disposed Whether the object is disposed.
Editor Read Only Whether the object is read only in the editor.
Editor Read Only In Hierarchy Whether the object is read-only in the editor with respect to parent objects.
Display In Editor Whether to show the object in the editor.
Type Settings Private Objects Object settings when used as a type.
Any Data The user data of the component.
Enabled In Hierarchy And Is Not Resource Determines when the object is attached to a hierarchy of the components, is enabled and the object if not part of a resource (it is usual object instance). The object will be enabled only when all parents are enabled, and the property Enabled is enabled.
See also
CommonText File