public override void DoWindowContents(Rect fillRect) { base.DoWindowContents(fillRect); FactionUIUtility.DoWindowContents_NewTemp(fillRect, ref scrollPosition, ref scrollViewHeight, scrollToFaction); if (scrollToFaction != null) { scrollToFaction = null; } }
public override void DoWindowContents(Rect inRect) { FactionUIUtility.DoWindowContents_NewTemp(new Rect(inRect.x, inRect.y, inRect.width, inRect.height - CloseButSize.y), ref scrollPosition, ref scrollViewHeight); }