SakeTami
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