Hello,
I'm writing a custom sequence to shake the position of the current Subtitle panel (using DoTween)
How can I get a reference to transform of the currently open subtitle panel? I tried a bunch of thing but I can't wrap my head around how to do it
Thanks!
Custom sequence: How get current Subtitle Panel transform?
Custom sequence: How get current Subtitle Panel transform?
Currently working on ->Squeakross: Home Squeak Home<- Using Dialogue System Save System and other features.
Previous game made with Dialogue system ->The Spirit and The mouse<-
Previous game made with Dialogue system ->The Spirit and The mouse<-
Re: Custom sequence: How get current Subtitle Panel transform?
Hi,
Try this:
Try this:
Code: Select all
DialogueActor dialogueActor;
var panel = DialogueManager.standardDialogueUI.conversationUIElements.standardSubtitleControls.GetPanel(
DialogueManager.currentConversationState.subtitle, out dialogueActor);
Re: Custom sequence: How get current Subtitle Panel transform?
works like a charm, thanks!
Currently working on ->Squeakross: Home Squeak Home<- Using Dialogue System Save System and other features.
Previous game made with Dialogue system ->The Spirit and The mouse<-
Previous game made with Dialogue system ->The Spirit and The mouse<-