Re: Multiple Small Questions regarding the Dialogue System
Posted: Tue Aug 29, 2023 11:39 am
These are all stumpers.
Then again, maybe the menu is waiting for its Hide animation to finish. If the StandardUIMenuPanel component's Wait For Close checkbox is ticked, try unticking it.
I have no idea. Feel free to send a reproduction project to tony (at) pixelcrushers.com. Or you could put a breakpoint in the StandardUISubtitlePanel script's SetContent() method in your code editor. Then play the game and step through the method to see if it sets the subtitle text to "Subtitle Text" somehow.The_Kihng wrote: ↑Mon Aug 28, 2023 11:25 pmOkay. Get this. I followed your instructions. The dialogue manager is using my prefab, and if you observe the Subtitle TMP object in the inspector as you start a conversation, it inserts Subtitle Text before the dialogue comes up. I've checked and double checked seemingly everything. There is no mention of that phrase anywhere... Not in the conversation, not in the UI, not in any of the Actor's or Conversants' components... Nothing! The only thing I can think of is that the example you sent me still has that. I'm going to delete it just to be safe. ... Nope, that wasn't it. I am dumbfounded. Bewildered, even.
Edit: Thought this might be important. It only shows up the first time you run dialogue. Subsequent conversations don't show it.
That sounds like a Rect Transform anchoring issue. Unity's Rect Transform tutorial may provide some helpful tips.The_Kihng wrote: ↑Mon Aug 28, 2023 11:25 pmThis is even weirder than the other issue. For a bit I thought I had broken it, because the cursor wasn't showing up. I finally checked the object, and it was to the far right of the canvas, being masked. So I put it back. Then it was in the middle of the response button. So I checked again, and it was there. Okay, weird. So I put it back. Turns out whenever I resize the game or scene window horizontally, the cursor doesn't move along with everything else despite being childed, even when the game is running. It might be because I have it set to 'Ignore Layout' because if I don't, it gets attached to the inside of the Response Button and stretched horribly. Not sure what to do about that, but I can definitely grab those screenshots if you want them. I think a recording might be more apt, though.
Again, feel free to send a reproduction project. I may have mentioned this already, but you also set the Dialogue Manager's Other Settings > Debug Level to Info to log what's going on under the hood. If you see a Delay(...) method logged after clicking the response button, this may be what's causing the delay.The_Kihng wrote: ↑Mon Aug 28, 2023 11:25 pmNope. Also it doesn't seem as bad now that the issue with the Continue Button is fixed. It's still happening, but for maybe half the duration now. So this isn't a big of a concern as the others. I'm sorry to be taking up so much of your time, but this has me absolutely stumped.
Then again, maybe the menu is waiting for its Hide animation to finish. If the StandardUIMenuPanel component's Wait For Close checkbox is ticked, try unticking it.