Playmaker Forum

PlayMaker Feedback => Feature Requests => Topic started by: ch1ky3n on February 04, 2021, 09:02:27 AM

Title: Mini request
Post by: ch1ky3n on February 04, 2021, 09:02:27 AM
Hi, It would be nice to have a shortcut on Locking and Unlocking the fsm selected and could be assigned on Unity Shortcuts. I used the lock function a lot, not sure about others. It would definitely speed up the work for those who do.

Title: Re: Mini request
Post by: Alex Chouls on February 07, 2021, 06:36:41 PM
Good idea. I need to do some research on how methods are exposed in Unity Shortcuts. If anyone has a good link please post it :)
Title: Re: Mini request
Post by: ch1ky3n on February 07, 2021, 10:50:08 PM
https://docs.unity3d.com/ScriptReference/MenuItem.html?_ga=2.254630536.1814518653.1612755751-2055362405.1612755751 (https://docs.unity3d.com/ScriptReference/MenuItem.html?_ga=2.254630536.1814518653.1612755751-2055362405.1612755751)

https://answers.unity.com/questions/1204247/intercept-ctrl-s-keyboard-shortcut-in-editor-for-c.html (https://answers.unity.com/questions/1204247/intercept-ctrl-s-keyboard-shortcut-in-editor-for-c.html)

Hi Alex, not sure if these can help you.
Title: Re: Mini request
Post by: Alex Chouls on February 08, 2021, 01:35:10 AM
Thanks for the links!
I found the docs for the new Unity Shortcut Manager.
It lets you add shortcuts pretty easily: https://docs.unity3d.com/ScriptReference/ShortcutManagement.ShortcutAttribute.html
Title: Re: Mini request
Post by: ch1ky3n on February 08, 2021, 11:26:55 AM
Awesome Alex
Great to have you!
Title: Re: Mini request
Post by: Alex Chouls on February 08, 2021, 12:02:33 PM
Thanks! Toggle Lock will be a shortcut in the next update :)