[Unity Tip] Calling code inside Unity Inspector using ContextMenu attribute
Added 2023-02-27 09:13:54 +0000 UTCUse 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 ๐