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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×