Custom sequence shortcut use forward slashes would make the check show red.

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
shortlin
Posts: 73
Joined: Wed Jun 03, 2020 1:52 am

Custom sequence shortcut use forward slashes would make the check show red.

Post by shortlin »

Sorry to bother.
I want my custom sequence(Sequencer Shortcuts ) could classify the name to manage.So I remembered conversation title could use forward slashes to do this,so I tried do the same thing in Sequencer Shortcuts.
sshot-2020-09-17-[17-42-33].png
sshot-2020-09-17-[17-42-33].png (11.19 KiB) Viewed 124 times

It worked.
And no error in run time.my animation could run normally.
sshot-2020-09-17-[15-14-25].png
sshot-2020-09-17-[15-14-25].png (11.73 KiB) Viewed 128 times

But I use check button,it would be red.
sshot-2020-09-17-[15-14-52].png
sshot-2020-09-17-[15-14-52].png (4.28 KiB) Viewed 128 times
I found the tutorials(
https://www.pixelcrushers.com/dialogue_ ... tcuts.html
https://www.pixelcrushers.com/dialogue_ ... #shortcuts
)seems not describe I can use forward slashes to do this.I am afraid maybe I use wrong way or maybe the way would cause error in the future.

So,I want to check is could we use forward slashes in Sequencer Shortcuts ?

And then I want to ask another question about using shortcut.
My Unity's version is 2019.4.1 f1.
I use it often appearing inconvenient situation...
like this video..

this video show two inconvenient situation:
1.at 6 second you could see it always automatically add '';'' in the first but it is not cause error,maybe it's OK to use.
2.at 14 second you could see I try to add a sequence ,it always do not appear,I must leave the node and enter the node that I could see the new sequence appear.

the second situation is more inconvenient to me..although they are still add the new sequences and could run.

Is it the Unity's version problem?
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: Custom sequence shortcut use forward slashes would make the check show red.

Post by Tony Li »

Hi,
shortlin wrote: Thu Sep 17, 2020 3:36 amSo,I want to check is could we use forward slashes in Sequencer Shortcuts ?
You can use forward slashes in shortcuts. This is a bug in the Check button. If your sequence only contains a shortcut, it incorrectly says it is an error. I'll fix that in version 2.3.
shortlin wrote: Thu Sep 17, 2020 3:36 am1.at 6 second you could see it always automatically add '';'' in the first but it is not cause error,maybe it's OK to use.
This is harmless. A semicolon (;) must always separate sequencer commands. When you use the "+" button, it adds a semicolon to the blank line because it doesn't notice that the line above it already ends in a semicolon. I'll clean this up in version 2.3. It won't break anything to have the extra semicolons, or you can manually remove them.
shortlin wrote: Thu Sep 17, 2020 3:36 am2.at 14 second you could see I try to add a sequence ,it always do not appear,I must leave the node and enter the node that I could see the new sequence appear.
This has always been an issue with the Unity editor. It is not specific to the Dialogue System. If a script changes the value of an Inspector field, the appearance will not update if your keyboard cursor is already in that field. To see your added commands right away, make sure your keyboard cursor is outside of the Sequence field before using the "+" button.
Post Reply