Delay Button Pressed Action after Animation

HI all,

is possible, without code, to have an animation assigned to a button on press, that plays till the end BEFORE the action of the pressed button? For example my button when pressed play an animation and THEN navigate to an other menu? At the moment it just skip completely the pressed animation.

I KNOW there is a event system, but the script i want to call is not on the button, and it’s kind a of a wierd solution to make a script for each button jsut to delay the action …

Thank you in advance,

regards

Good day.

It is possible, but not without a little code.

You can make a button to call any function attached to any other object, does not need to be inside the buton itself. Just drag any object (For example the player object) at the Button inspector “On Click Section” and select any function from the player scripts (attached to the Player object).

I recommend you to watch some tutorial about assign funtions to buttons without coding , its simple and easy, so i strongly recommend you to do it.

But adding delays, and this more “complex” things, you will need to code.

Bye!