When generating a procedural script, the system checks whether any members are about to be removed. Any such members are still included in the new file and given the [Obsolete]
attribute so that any code referring them will give you a warning letting you know that you need to update your code to match the change you just made (instead of creating compile errors that can cause other problems).
Obsolete members will automatically be cleared next time you compile a runtime build. Or you can Right Click on the script in the Procedural Assets Panel and use the Clear Obsolete Members
function to clear them manually.
You can disable obsolete members using the Keep Obsolete Members
toggle in the Procedural Assets Panel.