C
C#2w ago
Nurglini

[Unity] Is there a way to have a ContextMenu give an arguement to a method?

I'm working on a real simple save function in Unity that I can call from the context menu, and everything works wonderfully without an input (of where to save) so far, but I'd like to be able to test it with different save locations. That's all context though, my question is can I pass an input into the method being called through the Context Menu? https://discussions.unity.com/t/can-contextmenu-pass-arguments-into-a-method/248683 I found this discussion thread, but it's a few years old and just amounts to "Probably not", so I'm curious if anything has changed.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server