DISABLE Library
This is a simple utility library for disabling a component which you do not want run.
This can be useful in various scenarios such as when you are working on a new interface that is not ready to be run, especially in production! To avoid having any team members start the component you can use this utility DISABLE Library and place #disabled
in the component description.
function main(Data)
 DISABLEcheck();
end
DISABLEcheck()
checks the description of the component for #disabled
and will throw an error if you are not in the editor and the component is run.
The component will be stopped and an error message will be logged:
Â