SCanvasGroup
ClientComposants
Dans cette classeAlpha
Membres 5
| Propriété | Alpha | Set the alpha of the group. |
| Propriété | BlocksRaycasts | Does this group block raycasting (allow collision)? |
| Propriété | IgnoreParentGroups | Should the group ignore parent groups? |
| Propriété | Interactable | Is the group interactable (are the elements beneath the group enabled)? |
| Propriété | GameObject | Returns a reference to the GameObject of this component. |
Propriétés
Alpha
float Alpha {get; set; }
Set the alpha of the group.
Exemple
Lua
Space.Host.CanvasGroup.Alpha = 1.0
BlocksRaycasts
bool BlocksRaycasts {get; set; }
Does this group block raycasting (allow collision)?
Exemple
Lua
Space.Host.CanvasGroup.BlocksRaycasts = true
IgnoreParentGroups
bool IgnoreParentGroups {get; set; }
Should the group ignore parent groups?
Exemple
Lua
Space.Host.CanvasGroup.IgnoreParentGroups = true
Interactable
bool Interactable {get; set; }
Is the group interactable (are the elements beneath the group enabled)?
Exemple
Lua
Space.Host.CanvasGroup.Interactable = true
GameObjectLecture seule
Returns a reference to the GameObject of this component.
Exemple
Lua
theGameObject = Space.Host.ExecutingObject.CanvasGroup.GameObject



