/// <summary>Utility getting rid of the need of manually writing assignments</summary> public void UpdateFromModel(MyModel model) { UpdateExpandCollapseArrowRotation(model); UpdateTitleByItemIndex(model); }
float UpdateAndGetModelCurrentSize(MyModel model) { float expandedSize = UpdateAndGetModelExpandedSize(model); return(Mathf.Lerp(_Params.DefaultItemSize, expandedSize, model.ExpandedAmount)); }