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. Any functionality of component is not works when it disabled.
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 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.
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 The displaying mode of an on-screen label of the component in the scene editor.
Network Mode Whether to enable synchronization of the component between server and clients.
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 Instance 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 is enabled.
Network Is Server Whether to work in network server mode. It is false until the scene is not loaded.
See also
CommonText File