Component.Enabled

bool Enabled { get; set; }

Description

<para> The enable state of this <see cref="T:Sandbox.Component" />. </para><para> This doesn't tell you whether the component is actually active because its parent <see cref="T:Sandbox.GameObject" /> might be disabled. This merely tells you what the component wants to be. You should use <see cref="P:Sandbox.Component.Active" /> to determine whether the object is truly active in the scene. </para>

Return

User Comments