bool HasGizmoHandle { get; set; }

robot_2Generated
code_blocksInput

Description

The HasGizmoHandle property of a GameObject indicates whether the object has a gizmo handle associated with it. Gizmo handles are typically used in the editor to manipulate objects visually, such as moving, rotating, or scaling them.

Usage

Use the HasGizmoHandle property to check if a GameObject has a gizmo handle. This can be useful when implementing custom editor tools or when you need to perform operations that depend on the presence of a gizmo handle.

Example

// Example of checking if a GameObject has a gizmo handle
GameObject myObject = new GameObject();

if (myObject.HasGizmoHandle)
{
    // Perform operations that require a gizmo handle
    // For example, enable custom editor manipulations
}