I have set up an A script to automatically load. A has attributes b and c. After a period of time, the values of b and c have changed. I would like to reset the A script to restore attributes b and c to their original positions, without implementing the code below. Is there any other way?
func reload():
b = 0
c = 0
I hope it's the kind of script that removes automatic loading, then creates the same script and sets it to automatic loading. Or create a new script to replace the original one. Do you have any good methods