Unity API通读 UnityEngine.Behaviour

Behaviour

Behaviours 行为是可以被启用或禁用的组件
UnityEngine类 继承自Component 实现接口UnityEngine.CoreModuleOther Versions

·属性
enable
启用的行为被更新 禁用的行为不会更新
isActiveAndEnabled
行为是否被激活并启用
控件激活且脚本启用时为true

官方文档 version 2018.3
https://docs.unity3d.com/ScriptReference/Behaviour.html

猜你喜欢

转载自blog.csdn.net/qql7267/article/details/87092647
今日推荐