Jump to content
Aveyond Studios Community
Sign in to follow this  
Amaranth

Change Canvas Alpha

Recommended Posts

Psr2HRa.png

Description

Change the alpha for a canvas game object. 

Notes:

  • There must be a Canvas component attached to the parent game object you want to show or hide.
  • You can only reference one hero object. If you reference a list of hero objects, the first hero object in the list is used.

Fields

The type of object that contains the canvas - If the game object has a hero object attached to it, select Hero Object. Otherwise, select Game Object.

The game object that contains the canvas - (Game Object) Choose the game object that you want to work with (game object field A).

The hero object that contains the canvas - (Hero Object) Choose the hero object that you want to work with (hero object field A).

The new alpha for the canvas - Choose the new alpha to for the canvas (integer field A). This is a percentage (0% visible to 100% visible).

Duration - How long it should take for the alpha to change (integer field A).

Don't play next action until this action completes - Mark this box if you only want to play the next action when the alpha has changed. Otherwise, while the alpha is changing, the next action in the event will play.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...