Пример #1
0
        public override void DoWindowContents(Rect inRect)
        {
            float   x            = inRect.x;
            float   y            = inRect.y;
            float   width        = inRect.width;
            float   height       = inRect.height;
            Vector2 closeButSize = CloseButSize;

            FactionUIUtility.DoWindowContents(new Rect(x, y, width, height - closeButSize.y), ref scrollPosition, ref scrollViewHeight);
        }
 public override void DoWindowContents(Rect inRect)
 {
     FactionUIUtility.DoWindowContents(new Rect(inRect.x, inRect.y, inRect.width, inRect.height - this.CloseButSize.y), ref this.scrollPosition, ref this.scrollViewHeight);
 }
 public override void DoWindowContents(Rect fillRect)
 {
     base.DoWindowContents(fillRect);
     FactionUIUtility.DoWindowContents(fillRect, ref this.scrollPosition, ref this.scrollViewHeight);
 }