SCanvasGroup
ClientComponents
On this classAlpha
Members 5
| Property | Alpha | Set the alpha of the group. |
| Property | BlocksRaycasts | Does this group block raycasting (allow collision)? |
| Property | IgnoreParentGroups | Should the group ignore parent groups? |
| Property | Interactable | Is the group interactable (are the elements beneath the group enabled)? |
| Property | GameObject | Returns a reference to the GameObject of this component. |
Properties
Alpha
float Alpha {get; set; }
Set the alpha of the group.
Example
Lua
Space.Host.CanvasGroup.Alpha = 1.0
BlocksRaycasts
bool BlocksRaycasts {get; set; }
Does this group block raycasting (allow collision)?
Example
Lua
Space.Host.CanvasGroup.BlocksRaycasts = true
IgnoreParentGroups
bool IgnoreParentGroups {get; set; }
Should the group ignore parent groups?
Example
Lua
Space.Host.CanvasGroup.IgnoreParentGroups = true
Interactable
bool Interactable {get; set; }
Is the group interactable (are the elements beneath the group enabled)?
Example
Lua
Space.Host.CanvasGroup.Interactable = true
GameObjectRead only
Returns a reference to the GameObject of this component.
Example
Lua
theGameObject = Space.Host.ExecutingObject.CanvasGroup.GameObject



