MudRetsu
Peter
Peter

patreon


[Unity Tip] Calling code inside Unity Inspector using ContextMenu attribute

Use a [𝗖𝗞ð—ŧ𝘁ð—ē𝘅𝘁𝗠ð—ēð—ŧ𝘂] attribute to ð—Ūð—ąð—ą a ð—ĩð—ēð—đð—―ð—ēð—ŋ 𝗚ð—ē𝘁ð—ĩð—žð—ą to be 𝗰ð—Ūð—đð—đð—ēð—ą from the ð—Ļð—ŧð—ķ𝘁𝘆 ð—ķð—ŧð˜€ð—―ð—ē𝗰𝘁𝗞ð—ŋ 🙂(no need for a custom Editor script)😎

You can call it from the 3 dots context menu of your script 👍


More Creators