Trouble using ConversationPopup Attribute
Posted: Mon May 13, 2024 12:22 pm
Hi. I'm having a little trouble. I have this field in my custom class:
When I look at it in editor, if I've already looked at an object with a Dialogue System Trigger, then it behaves as expected, I get a little dropdown menu that lets me pick the conversation I want. However, if I'm looking at my game object with my custom script after Unity has reloaded script assemblies, it will look like an ordinary string field (with the filter, and an unchecked radio button). I can look at the Trigger again to get it to work, but I don't know what exactly is going wrong. Is there something I need to initialise inside of my object?
Thank you for your time
Code: Select all
[ConversationPopup(false, true)]
public string conversation = string.Empty;
Thank you for your time