In C#, is there a way to not accidentally edit the backing store instead of the property?
(Assuming they are in the same class)
int num;
int Num {
set {
num = Mathf.Abs(value);
}
}
num++
Should be editing Num, not num
(Someone's going to say "Just don't forget")