Search found 241 matches

by AoF
Sun Aug 25, 2019 6:49 pm
Forum: Dialogue System for Unity
Topic: Blinking cursor when the text is finished
Replies: 13
Views: 3744

Re: Blinking cursor when the text is finished

I tried that and modified it for my needs. It worked well, but what I didn't like is it put the sprite at the very end as soon as the text completed, almost as if it was part of the dialogue. I thought it would look better if there was a delay before it showed up. I thought this would be extremely s...
by AoF
Sun Aug 25, 2019 4:40 pm
Forum: Dialogue System for Unity
Topic: How do I shrink a Response Button Template?
Replies: 11
Views: 2002

Re: How do I shrink a Response Button Template?

I'm sure there's a logic to it somewhere. Maybe you have to quest through a dark dungeon to find it. I still muddle through myself. In this case, I saw that the button's Rect Transform > Height was grayed out and set to an automatic value. So I played with its parent until I could get it to be edit...
by AoF
Sun Aug 25, 2019 4:32 pm
Forum: Dialogue System for Unity
Topic: How do I shrink a Response Button Template?
Replies: 11
Views: 2002

Re: How do I shrink a Response Button Template?

In the end, the key was to untick the Content GameObject's Vertical Layout Group > Control Child Size. Of course (???)! I know this is more about Unity and your library, but does that make sense to you? I've been trying to learn how Unity layout works ever since I started learning Unity, and have n...
by AoF
Sat Aug 24, 2019 11:58 pm
Forum: Dialogue System for Unity
Topic: Blinking cursor when the text is finished
Replies: 13
Views: 3744

Re: Blinking cursor when the text is finished

Here's a gif showing it happening (notice the left and side text): https://cdn.discordapp.com/attachments/ ... 71/gif.gif

I'll email you my project. Thanks!
by AoF
Sat Aug 24, 2019 11:53 pm
Forum: Dialogue System for Unity
Topic: Blinking cursor when the text is finished
Replies: 13
Views: 3744

Re: Blinking cursor when the text is finished

Here's a gif of it: https://cdn.discordapp.com/attachments/ ... 71/gif.gif

It's modifying this text object:
by AoF
Sat Aug 24, 2019 11:45 pm
Forum: Dialogue System for Unity
Topic: Blinking cursor when the text is finished
Replies: 13
Views: 3744

Re: Blinking cursor when the text is finished

Yeah, as I suspected, this is having no effect on the text I see on the screen: using System.Collections; using System.Collections.Generic; using UnityEngine; using TMPro; using System; public class BlinkingCursorOnEnd : MonoBehaviour { public TextMeshProUGUI text; private bool blink = false; public...
by AoF
Sat Aug 24, 2019 11:30 pm
Forum: Dialogue System for Unity
Topic: Blinking cursor when the text is finished
Replies: 13
Views: 3744

Re: Blinking cursor when the text is finished

As far as I can tell, this event receives no parameters. How do I get the text inside the that OnEnd()? I know I could pass the text in as a field, but I have a feeling that would be the incorrect way to do things.
by AoF
Sat Aug 24, 2019 11:24 pm
Forum: Dialogue System for Unity
Topic: How do I hide a text panel if nothing's been said yet?
Replies: 6
Views: 987

Re: How do I hide a text panel if nothing's been said yet?

Cool, I did that and it fixed the problem. Thanks!
by AoF
Sat Aug 24, 2019 10:42 pm
Forum: Dialogue System for Unity
Topic: How do I shrink a Response Button Template?
Replies: 11
Views: 2002

Re: How do I shrink a Response Button Template?

Unless I'm misunderstanding something, I think my pictures show it already doing all those things. Reducing the layout group's min height makes no difference.
by AoF
Sat Aug 24, 2019 10:19 pm
Forum: Dialogue System for Unity
Topic: Blinking cursor when the text is finished
Replies: 13
Views: 3744

Re: Blinking cursor when the text is finished

Tony Li wrote: Sat Aug 24, 2019 10:18 pm Yes. You can't assign a coroutine directly to OnEnd(). But you can assign a method that starts the coroutine.
Makes sense, thanks!