Home Coding, Scripting, Shaders
The BRAWL² Tournament Challenge has been announced!

It starts May 12, and ends Sept 12. Let's see what you got!

https://polycount.com/discussion/237047/the-brawl²-tournament

Menuitem color #MAYA #MEL

polycounter lvl 8
Offline / Send Message
Pinned
jayantbhatt007 polycounter lvl 8
Hi I'm working on script where I want to give the color to the menuitem. Suppose it it is x it should be in Red color, Y in green color  like that Any idea How?

   symbolButton -w 35 -h 35 -image "plane.png" -c "ct";        //Right click on the button
                    popupMenu;
                    menuItem -l  "X" -c "gh";
                    menuItem -l "Y" -c "gh";
                    menuItem -l "Z" -c "hj";  
Sign In or Register to comment.