官术网_书友最值得收藏!

Canvas Group component

You can add a Canvas Group component to any UI object. It allows you to adjust specific properties of the UI object it is attached to and all of its children at once, rather than having to adjust these properties individually. You can add a Canvas Group component to any UI object by selecting Add Component | Layout | Canvas Group (you can also just search for Canvas Group) from the UI object's Inspector.

You can adjust the following properties using a Canvas Group component:

  • Alpha: This is the transparency of the UI objects within the Canvas Group. The number is between 0 and 1 and represents a percentage of opaqueness; 0 is completely transparent, while 1 is completely opaque.
  • Interactable: This setting states whether or not the objects within the group can accept input.
  • Blocks Raycast: This setting determines if the objects within the group will block the raycast from hitting things behind it.
  • Ignore Parent Groups: If this Canvas Group is on an object that is a child of another object with a Canvas Group component, this property determines whether this Canvas Group will override the one above it or not. If it is selected, it will override the parent group.
主站蜘蛛池模板: 荥阳市| 正安县| 襄垣县| 贡觉县| 贡觉县| 元谋县| 望城县| 获嘉县| 会昌县| 宜阳县| 崇礼县| 天气| 浪卡子县| 阜宁县| 宁蒗| 五河县| 巫山县| 九江县| 纳雍县| 柳河县| 金阳县| 论坛| 句容市| 霍山县| 兰州市| 五峰| 青冈县| 吴旗县| 讷河市| 集安市| 梨树县| 蛟河市| 叙永县| 衡山县| 兴宁市| 黔西| 康马县| 临夏县| 伊吾县| 化隆| 那坡县|