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.
Space.Host.CanvasGroup.Alpha = 1.0BlocksRaycasts
bool BlocksRaycasts get set
Does this group block raycasting (allow collision)?
Space.Host.CanvasGroup.BlocksRaycasts = trueIgnoreParentGroups
bool IgnoreParentGroups get set
Should the group ignore parent groups?
Space.Host.CanvasGroup.IgnoreParentGroups = trueInteractable
bool Interactable get set
Is the group interactable (are the elements beneath the group enabled)?
Space.Host.CanvasGroup.Interactable = trueGameObject
SGameObject GameObject get
Returns a reference to the GameObject of this component.
theGameObject = Space.Host.ExecutingObject.CanvasGroup.GameObject