Helllo Tony
When a player gets a variable set to true during a cnovasation i would like a prefab animation to play right in the middle of screen
Play a popup animation
Re: Play a popup animation
Hi,
There are many ways to do that. Here's a simple one:
1. Put the prefab animation GameObject in the scene. Set it inactive.
2. In the dialogue entry where the variable becomes true, use the sequencer command SetActive(gameobject) to set the prefab GameObject active.
There are many ways to do that. Here's a simple one:
1. Put the prefab animation GameObject in the scene. Set it inactive.
2. In the dialogue entry where the variable becomes true, use the sequencer command SetActive(gameobject) to set the prefab GameObject active.
Re: Play a popup animation
Thank you Tony!!