Other

Overview

Fade Targets utilize Mask Transform Manipulation. We use See Through Detect.cs and See Through Fade Targets to manipulate the transforms of a mask used with the WorldDissolve script.

How To Use It

Continuation of the "How To Use It" section from Detect Fade Targets.

Make sure that you have properly set up World Dissolve with the mask. If not, follow the setup instructions for world dissolve.

In the Fade Target, enable Mask Transform Manipulation.

Set the mask transform of the game object that has the Mask.cs script attached to it, and set the start and end scale.

Now, when the cube is between the camera and the player, the mask is scaled to the end scale value.

If not, the mask is scaled to the start scale, which is 0,0,0.

Last updated