Usage of Scene Event in Dialogue System Converstion

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
zeroxpy
Posts: 12
Joined: Tue Oct 20, 2020 10:50 pm

Usage of Scene Event in Dialogue System Converstion

Post by zeroxpy »

Regarding to using "scene event" in Conversation, I have the following question. Can you help me?

1. Is it possible to use static method in "scene event"? I tried to add a static method but I can't find my it in the dropdown menu.
2. In what condition would you recommend using "Scene-independent event" instead? Can you give an example?

Thank you!
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: Usage of Scene Event in Dialogue System Converstion

Post by Tony Li »

Hi,
zeroxpy wrote: Sun Nov 01, 2020 3:20 pm1. Is it possible to use static method in "scene event"? I tried to add a static method but I can't find my it in the dropdown menu.
No. A scene event is a regular UnityEvent that works on a scene object, so it can't access static methods in the inspector.
zeroxpy wrote: Sun Nov 01, 2020 3:20 pm2. In what condition would you recommend using "Scene-independent event" instead? Can you give an example?
There's one here: Scene-Independent Event Example
zeroxpy
Posts: 12
Joined: Tue Oct 20, 2020 10:50 pm

Re: Usage of Scene Event in Dialogue System Converstion

Post by zeroxpy »

Hi Tony. Many thanks.
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: Usage of Scene Event in Dialogue System Converstion

Post by Tony Li »

Glad to help!
Post Reply