Sandbox Logo

Component.Enabled

bool Enabled { get; set; }

Description

The enable state of this Component. This doesn't tell you whether it the Component is actually active because its parent GameObject might be disabled. This merely tells you what the Component wants to be. You should use Active to determine whether the object is truly active in the scene.

Return

User Comments