Page 1 of 1

Bool true when gameobject dead

Posted: Fri Oct 13, 2023 5:17 pm
by hrohibil
Hey Tony

I have setup a bool variable in the dialouge system.
I have a gameobject that when i destroy it, then the bool should turn true.

How would you go with this?

Re: Bool true when gameobject dead

Posted: Fri Oct 13, 2023 7:22 pm
by Tony Li
Hi,

trueOnDestroy.png
trueOnDestroy.png (26.16 KiB) Viewed 404 times

Re: Bool true when gameobject dead

Posted: Fri Oct 13, 2023 9:32 pm
by hrohibil
Thank you 🙏

Re: Bool true when gameobject dead

Posted: Fri Oct 13, 2023 9:38 pm
by Tony Li
Glad to help!