Skip to main content

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.0

BlocksRaycasts​

bool BlocksRaycasts get set

Does this group block raycasting (allow collision)?

Space.Host.CanvasGroup.BlocksRaycasts = true

IgnoreParentGroups​

bool IgnoreParentGroups get set

Should the group ignore parent groups?

Space.Host.CanvasGroup.IgnoreParentGroups = true

Interactable​

bool Interactable get set

Is the group interactable (are the elements beneath the group enabled)?

Space.Host.CanvasGroup.Interactable = true

GameObject​

SGameObject GameObject get

Returns a reference to the GameObject of this component.

theGameObject = Space.Host.ExecutingObject.CanvasGroup.GameObject