/// <summary> Adds scale size to use </summary> /// <param name="scale"> Scale to apply </param> /// <returns> The ScaleSize reference </returns> public MultiScaleValue AddNewScale(float scale = 1) { if (multiScale == null) { multiScale = new MultiScale(transform); } return(multiScale.AddNewScale(scale)); }
/// <summary> Removes the given scale size </summary> /// <param name="size"> The size to remove </param> public void RemoveScale(MultiScaleValue size) { if (multiScale == null) { multiScale = new MultiScale(transform); } multiScale.RemoveScale(size); }