Sign in to follow this  
Milllk

How can i play a death animation before the inst.Remove is called?

Recommended Posts

Milllk    59

i wanna the prefab to disappear but not too abrupt.

how can i add animation when i call the inst.remove function?

 

inst:DoTaskInTime("5",inst.Remove)

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