I have two properties, I would like to set one property as the upper limit of another property, hence making the upper rely on a property. As below:
public int fullLength;
[Range(0, fullLength)]
public int segmentLength;
Is there a way to do this, possibly with a custom editor? If yes, how can it be done?