SCanvasGroup

Index

Properties Index

Property Name

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

Last updated

Sinespace® is a registered trademark of Sine Wave Entertainment Ltd, All Rights Reserved.