상속: IDisposable
예제 #1
0
        public RTSUIHoverPanel(RectButton b, BaseWidget p)
        {
            TargetButton = b;
            PanelWidget = p;

            TargetButton.OnMouseEntry += TargetButton_OnMouseEntry;
            TargetButton.OnMouseExit += TargetButton_OnMouseExit;
            shouldShow = false;
        }
예제 #2
0
 protected virtual void OnSelfCompute(BaseWidget w)
 {
     drawText.TextHeight = Height;
     drawText.location = new Vector2(X, Y);
     drawText.layerDepth = layer;
 }
예제 #3
0
 private void OnSelfCompute(BaseWidget w)
 {
     drawRect.location = widgetRect;
     drawRect.layerDepth = layer;
 }
예제 #4
0
 protected virtual void OnParentRecompute(BaseWidget w)
 {
     Recompute();
 }