Animated Quad's Position Error

17 views
Skip to first unread message

liuq...@gmail.com

unread,
Feb 12, 2017, 4:01:03 AM2/12/17
to Developer Support
Hello.
I have create a animated quad collection. But when i use these quads continuously, i find that their spacing will bigger and bigger from the beginning of the fourth quad.

Besides, when my keyword is connected with other word without space, it can't be convert to the Regex and quad.

How can I correct them?

liuq...@gmail.com

unread,
Feb 12, 2017, 4:32:38 AM2/12/17
to Developer Support
Oh, sorry! I found that the first problem is because of my adding some codes in the SubstituteTagsInForKeywords method in the HyperTextProcessor.cs script.
When I recovered them, the first problem was solved.
ButI still want to know how to solve the second problem.

The added codes is as following(My keywords form is like [00]):
// perform simple substitution if there are no tags present
else
{
input = input.Replace ("[", " [");
input = input.Replace ("]", "] ");

input = kv.Value(input, keyword);//The original codes

input = input.Replace (" <", "<");
input = input.Replace ("> ", ">");
}

Developer Support

unread,
Feb 12, 2017, 6:05:01 AM2/12/17
to Developer Support
Hi! Thanks for sending a project folder, it makes things much easier. That said, I'm not clear on what exactly isn't working for you. When I tried having one of your quad keywords immediately preceding or following a word or another quad, they seemed to work fine. Could you give me an example of input that doesn't work for you?

liuq...@gmail.com

unread,
Feb 12, 2017, 7:04:32 AM2/12/17
to Developer Support
Thanks for the answer!
It's work fine because I have add some codes in your script(As mentioned earlier).
If you delete those 4 lines in the SubstituteTagsInForKeywords method, you will find that when you type "Hello everybody[00]",the explode animation will not to be display. Unless you insert a space like "Hello everybody [00]", it will be correct.

Developer Support

unread,
Feb 12, 2017, 8:37:51 AM2/12/17
to Developer Support
Thanks for clarifying! I found the source of the issue and the fix will be available in the next update. I have also emailed you a version of HyperTextProcessor.cs with the proper fix in it. Please let me know if you have any other issues.

liuq...@gmail.com

unread,
Feb 12, 2017, 9:08:05 AM2/12/17
to Developer Support
Thank you very much for your help! The HyperText is a great plugin!

Developer Support

unread,
Mar 12, 2017, 4:01:53 PM3/12/17
to Developer Support
Hi again! HyperText 1.8.15 is now available for download on the Asset Store and officially has this problem fixed. Please let me know if you run into it or another issue again. Thanks again for reporting it!
Reply all
Reply to author
Forward
0 new messages