class in UnityEngine/Inherits from: Component
Implements interfaces:
Base class for everything attached to GameObjects.
依附于GameObjects下的基础类。
Note that your code will never directly create a Component. Instead, you write script code, and attach the script to a GameObject.
注意你的代码不能直接创建组件。而是写脚本代码并将其依附于一个GameObject上。
See Also: ScriptableObject as a way to create scripts that do not attach to any GameObject.
alpha | Set the alpha of the group. 设置该组的透明度。 |
blocksRaycasts | Does this group block raycasting (allow collision). 该组是否忽略投射(允许碰撞)。 |
ignoreParentGroups | Should the group ignore parent groups? 是否忽略父物体组? |
interactable | Is the group interactable (are the elements beneath the group enabled). 是否打开交互(在该组之下启用该元素)。 |
IsRaycastLocationValid | Returns true if the Group allows raycasts. 如果该组允许投射返回true。 |