Drag and Drop at Sequence field
Drag and Drop at Sequence field
Hi Tony,
I found out it's possible to drag and drop gameobjects to the sequencer field, and it sort of preset a sequence command. (Camera(default,gameObject))
Is it possible to customize this preset? I think it could be very useful.
Regards,
I found out it's possible to drag and drop gameobjects to the sequencer field, and it sort of preset a sequence command. (Camera(default,gameObject))
Is it possible to customize this preset? I think it could be very useful.
Regards,
Re: Drag and Drop at Sequence field
Hi,
You can only customize the preset for audio files. The "+" menu lets you specify what to do with audio files.
What other presets would be useful?
You can only customize the preset for audio files. The "+" menu lets you specify what to do with audio files.
What other presets would be useful?
Re: Drag and Drop at Sequence field
In my particular case, I'm missing the "SetActive" to true.
And in the dream world, if I hold a specific key (like Control key) then it will be set to False.
I didn't know about this shortcut. It can have many possibilities and perhaps there is a way to be fully customized by the user, so you don't have to try to include all the possibilities.
And in the dream world, if I hold a specific key (like Control key) then it will be set to False.

I didn't know about this shortcut. It can have many possibilities and perhaps there is a way to be fully customized by the user, so you don't have to try to include all the possibilities.
Re: Drag and Drop at Sequence field
In version 2.0.6 or 2.0.7, I'll try to add that. You'll be able to configure a primary and secondary (Ctrl-key) command based on the asset type. For example, drag GameObject to SetActive(true). Ctrl+drag to SetActive(false).
Re: Drag and Drop at Sequence field
Sounds great! Thanks Tony!!
Re: Drag and Drop at Sequence field
Hey, Tony
Would it be possible to add a CinemachinePriority drag and drop ability?
Also, is there any way for a drop down menu to be added of available commands? I get that this might be a bit tricky with 3rd party support, but having the ability to open a menu of core sequencer commands would be amazing.
Thanks as always,
Nathan
Would it be possible to add a CinemachinePriority drag and drop ability?
Also, is there any way for a drop down menu to be added of available commands? I get that this might be a bit tricky with 3rd party support, but having the ability to open a menu of core sequencer commands would be amazing.
Thanks as always,
Nathan
Re: Drag and Drop at Sequence field
That's a good idea. So if you drop a GameObject with a CinemachineVirtualCamera component into the Sequence field, it will add a CinemachinePriority command.
The "+" button opens a partial list. Version 2.0.6 will be a small update release. I'll try in version 2.0.7 to add a submenu to "+" that lists all available sequencer commands, including third party/custom commands. Since it won't be able to know the syntax ahead of time, it will just start the command. For example, if you've imported the SLATE Support package, the "+" submenu will have an option that enters "SLATE(", expecting you to fill in the rest.
Re: Drag and Drop at Sequence field
That would be so awesome!
Thank you.
Nathan
Thank you.
Nathan
Re: Drag and Drop at Sequence field
Just grabbed the 2.06 update and noticed the drop down menu for selecting Sequencer Commands.
Sorry, Tony. There's a few missing. For example, "Send Message", "Set Enabled" etc.
Thank you!








Sorry, Tony. There's a few missing. For example, "Send Message", "Set Enabled" etc.
Thank you!
Re: Drag and Drop at Sequence field
That was an oversight. The list shows all sequencer commands that exist as separate scripts. I forgot to also include the commands that are defined internally without their own scripts. I'll post a patch this week.