Home Coding, Scripting, Shaders

update checkbox in my rollout

How can I make the checkbox created on the rollout panel appear and work separately for each selected object?
rollout my "MyRollout"
checkbox mycb "My Checkbox"
createdialog my

If I create a panel and a checkbox in it and write a condition if it is enabled, then, for example, I will print text, it will be done, but this does not depend on the selected object.
How can I make the checkbox work separately for each object?
Can you provide a visual example of the script?


Replies

Sign In or Register to comment.