SCanvasGroup
Index
Properties Index
| Property Name |
|---|
float Alpha get set |
bool BlocksRaycasts get set |
bool IgnoreParentGroups get set |
bool Interactable get set |
Properties
Alpha
float Alpha get set
Set the alpha of the group.
- Lua
Space.Host.CanvasGroup.Alpha = 1.0
BlocksRaycasts
bool BlocksRaycasts get set
Does this group block raycasting (allow collision)?
- Lua
Space.Host.CanvasGroup.BlocksRaycasts = true
IgnoreParentGroups
bool IgnoreParentGroups get set
Should the group ignore parent groups?
- Lua
Space.Host.CanvasGroup.IgnoreParentGroups = true
Interactable
bool Interactable get set
Is the group interactable (are the elements beneath the group enabled)?
- Lua
Space.Host.CanvasGroup.Interactable = true
GameObject
SGameObject GameObject get
Returns a reference to the GameObject of this component.
- Lua
theGameObject = Space.Host.ExecutingObject.CanvasGroup.GameObject