Questions about implementing the effects of shaking the Subtitle Text
Posted: Wed Feb 26, 2025 2:23 pm
Hello, I'm a game developer in Korea. I'm using a translator because I'm not good at English, so there may be some expressions that don't fit the grammar. I apologize for that in advance.
I added a Shake animation to the Dialogue Panel of the default built-in UI Prefab. I created an animation by repositioning the Subtitle Text on a frame-by-frame basis to give the Subtitle Text a shaking effect, and I also added a trigger to the animator.
And I made it possible to go to the Shake State if the 'Shake' trigger is executed in the Show State of the existing animator.
What I'm curious about is how to activate the Shake effect on certain lines. I thought it'd be better to use Sequence from Dialogue System, but I don't know how to change the animator's status to Shake.
To implement that function, if the method I thought was appropriate, I would appreciate it if you could tell me the exact usage method.
If the approach itself is wrong, please let me know another way.
I added a Shake animation to the Dialogue Panel of the default built-in UI Prefab. I created an animation by repositioning the Subtitle Text on a frame-by-frame basis to give the Subtitle Text a shaking effect, and I also added a trigger to the animator.
And I made it possible to go to the Shake State if the 'Shake' trigger is executed in the Show State of the existing animator.
What I'm curious about is how to activate the Shake effect on certain lines. I thought it'd be better to use Sequence from Dialogue System, but I don't know how to change the animator's status to Shake.
To implement that function, if the method I thought was appropriate, I would appreciate it if you could tell me the exact usage method.
If the approach itself is wrong, please let me know another way.