Behaviour 行为

Namespace: UnityEngine

Inherits from: Component

Description 描述

Behaviours are Components that can be enabled or disabled.

Behaviours是可以被启用或禁用的组件。

See Also: MonoBehaviour and Component.

Variables变量

enabledEnabled Behaviours are Updated, disabled Behaviours are not.
启用行为将被更新,禁用行为将不更新。
isActiveAndEnabledHas the Behaviour had enabled called.
该Behaviour行为是否已经被启用。