NaeBuka
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