Dialogue with C# function condition

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Cloud
Posts: 4
Joined: Fri May 09, 2025 9:37 pm

Dialogue with C# function condition

Post by Cloud »

Hello! Thank you for this amazing asset.
I have an issue that I couldn't figure out the cause of. It would be great if you could point out my mistake.
I am checking a bool value with a function. However, when I select the option in first image while in run mode, the dialogue UI closes, and the dialogue ends. Where did I go wrong?
Screenshot 2025-05-10 044537.png
Screenshot 2025-05-10 044537.png (102.98 KiB) Viewed 131 times
Screenshot 2025-05-10 044846.png
Screenshot 2025-05-10 044846.png (55.34 KiB) Viewed 131 times
Screenshot 2025-05-10 044826.png
Screenshot 2025-05-10 044826.png (38.63 KiB) Viewed 131 times
Screenshot 2025-05-10 044810.png
Screenshot 2025-05-10 044810.png (35.76 KiB) Viewed 131 times
Screenshot 2025-05-10 044752.png
Screenshot 2025-05-10 044752.png (35.51 KiB) Viewed 131 times
Cloud
Posts: 4
Joined: Fri May 09, 2025 9:37 pm

Re: Dialogue with C# function condition

Post by Cloud »

Nvm I found my mistake.. I have to write code like this:

Code: Select all

public bool IsSeatFound()
{
    return seatFound ;
}
Post Reply