Ejemplo n.º 1
0
        public virtual void BeginPingNode(TreeViewItem item, float topPixelOfRow, float availableWidth)
        {
            // ISSUE: object of a compiler-generated type is created
            // ISSUE: variable of a compiler-generated type
            TreeViewGUI.\u003CBeginPingNode\u003Ec__AnonStorey2B nodeCAnonStorey2B = new TreeViewGUI.\u003CBeginPingNode\u003Ec__AnonStorey2B();
            // ISSUE: reference to a compiler-generated field
            nodeCAnonStorey2B.item = item;
            // ISSUE: reference to a compiler-generated field
            nodeCAnonStorey2B.\u003C\u003Ef__this = this;
            // ISSUE: reference to a compiler-generated field
            if (nodeCAnonStorey2B.item == null || (double)topPixelOfRow < 0.0)
            {
                return;
            }
            // ISSUE: object of a compiler-generated type is created
            // ISSUE: variable of a compiler-generated type
            TreeViewGUI.\u003CBeginPingNode\u003Ec__AnonStorey2C nodeCAnonStorey2C = new TreeViewGUI.\u003CBeginPingNode\u003Ec__AnonStorey2C();
            // ISSUE: reference to a compiler-generated field
            nodeCAnonStorey2C.\u003C\u003Ef__ref\u002443 = nodeCAnonStorey2B;
            // ISSUE: reference to a compiler-generated field
            nodeCAnonStorey2C.\u003C\u003Ef__this = this;
            this.m_Ping.m_TimeStart = Time.realtimeSinceStartup;
            this.m_Ping.m_PingStyle = TreeViewGUI.s_Styles.ping;
            // ISSUE: reference to a compiler-generated field
            Vector2 vector2 = this.m_Ping.m_PingStyle.CalcSize(GUIContent.Temp(nodeCAnonStorey2B.item.displayName));

            // ISSUE: reference to a compiler-generated field
            this.m_Ping.m_ContentRect    = new Rect(this.GetContentIndent(nodeCAnonStorey2B.item), topPixelOfRow, this.k_IconWidth + this.k_SpaceBetweenIconAndText + vector2.x + this.iconTotalPadding, vector2.y);
            this.m_Ping.m_AvailableWidth = availableWidth;
            // ISSUE: reference to a compiler-generated field
            // ISSUE: reference to a compiler-generated field
            nodeCAnonStorey2C.useBoldFont = nodeCAnonStorey2B.item.displayName.Equals("Assets");
            // ISSUE: reference to a compiler-generated method
            this.m_Ping.m_ContentDraw = new System.Action <Rect>(nodeCAnonStorey2C.\u003C\u003Em__3F);
            this.m_TreeView.Repaint();
        }
Ejemplo n.º 2
0
 public virtual void BeginPingNode(TreeViewItem item, float topPixelOfRow, float availableWidth)
 {
   // ISSUE: object of a compiler-generated type is created
   // ISSUE: variable of a compiler-generated type
   TreeViewGUI.\u003CBeginPingNode\u003Ec__AnonStorey2B nodeCAnonStorey2B = new TreeViewGUI.\u003CBeginPingNode\u003Ec__AnonStorey2B();
   // ISSUE: reference to a compiler-generated field
   nodeCAnonStorey2B.item = item;
   // ISSUE: reference to a compiler-generated field
   nodeCAnonStorey2B.\u003C\u003Ef__this = this;
   // ISSUE: reference to a compiler-generated field
   if (nodeCAnonStorey2B.item == null || (double) topPixelOfRow < 0.0)
     return;
   // ISSUE: object of a compiler-generated type is created
   // ISSUE: variable of a compiler-generated type
   TreeViewGUI.\u003CBeginPingNode\u003Ec__AnonStorey2C nodeCAnonStorey2C = new TreeViewGUI.\u003CBeginPingNode\u003Ec__AnonStorey2C();
   // ISSUE: reference to a compiler-generated field
   nodeCAnonStorey2C.\u003C\u003Ef__ref\u002443 = nodeCAnonStorey2B;
   // ISSUE: reference to a compiler-generated field
   nodeCAnonStorey2C.\u003C\u003Ef__this = this;
   this.m_Ping.m_TimeStart = Time.realtimeSinceStartup;
   this.m_Ping.m_PingStyle = TreeViewGUI.s_Styles.ping;
   // ISSUE: reference to a compiler-generated field
   Vector2 vector2 = this.m_Ping.m_PingStyle.CalcSize(GUIContent.Temp(nodeCAnonStorey2B.item.displayName));
   // ISSUE: reference to a compiler-generated field
   this.m_Ping.m_ContentRect = new Rect(this.GetContentIndent(nodeCAnonStorey2B.item), topPixelOfRow, this.k_IconWidth + this.k_SpaceBetweenIconAndText + vector2.x + this.iconTotalPadding, vector2.y);
   this.m_Ping.m_AvailableWidth = availableWidth;
   // ISSUE: reference to a compiler-generated field
   // ISSUE: reference to a compiler-generated field
   nodeCAnonStorey2C.useBoldFont = nodeCAnonStorey2B.item.displayName.Equals("Assets");
   // ISSUE: reference to a compiler-generated method
   this.m_Ping.m_ContentDraw = new System.Action<Rect>(nodeCAnonStorey2C.\u003C\u003Em__3F);
   this.m_TreeView.Repaint();
 }