Is there a way to change the GUI Skin Visibility?

Hello,
I want my GUI horizontal slider to appear only after an animation.

Example:
I click on the options button and an animation occurs which brings me to the scene where I can change the BGM using the horizontal slider. However I only want my slider to appear after the animation and at the position of the option scene. Is there a way to control to allow the GUI skin to appear after the animation?

I’ve tried Adding an Event at the animation part however it doesn’t work.

Please help me. :frowning:

-Kim

2 boolean variables would do this

one to check whether the button is clicked… whn button click happens change the first boolean to true

and if it is true run the animation, at the end of animation change the second boolean to true

and make sure that the slider is rendered only whn both boolean is true.

var bool1=false;
var bool2=false;

function OnGUI()
{
if(GUI.Button(“options”))
{

}

if(bool1&bool2)
{

//display slider
}
}

function Update()
{

if(bool1)
{
// play animation
}

if(animation over){
bool2=true;
}
}

this is a sample snippet which i think would work