Behaviour

csharp
public abstract class Behaviour : Component

Namespace NodeWorld.Flux.

A component of the world that can be switched on and off.

Properties

enabled

csharp
public bool enabled { get; set; }

The component is on. Off, it does nothing: an off light does not light, an off audio source does not play.

isActiveAndEnabled

csharp
public bool isActiveAndEnabled { get; }

The component is on and its GameObject is active in the hierarchy.