Hello!
I am working on an editor script to reset the properties of a component which we do by clicking the reset button from the context menu. How would I simulate this behavior from script? I know there is MonoBehavior.Reset but I want to reset non mono-behavior components i.e. SpriteRenderer, Collider,…
Thanks