用户工具

站点工具


侧边栏



Unity3D中文文档

script:unityengine:classes:canvasgroup:canvasgroup

CanvasGroup 画布组

class in UnityEngine/Inherits from: Component
Implements interfaces: ICanvasRaycastFilter

Description 描述

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.

Static Functions 公共函数

alphaSet the alpha of the group.
设置该组的透明度。
blocksRaycastsDoes this group block raycasting (allow collision).
该组是否忽略投射(允许碰撞)。
ignoreParentGroupsShould the group ignore parent groups?
是否忽略父物体组?
interactableIs the group interactable (are the elements beneath the group enabled).
是否打开交互(在该组之下启用该元素)。

Messages 信息

IsRaycastLocationValidReturns true if the Group allows raycasts.
如果该组允许投射返回true。
script/unityengine/classes/canvasgroup/canvasgroup.txt · 最后更改: 2016/08/02 05:35 (外部编辑)