private static void DrawNavigationForSelectable(Selectable sel) { if (!(sel == null)) { Transform transform = sel.transform; bool flag = Selection.transforms.Any((Transform e) => e == transform); Handles.color = new Color(1f, 0.9f, 0.1f, (!flag) ? 0.4f : 1f); SelectableEditor.DrawNavigationArrow(-Vector2.right, sel, sel.FindSelectableOnLeft()); SelectableEditor.DrawNavigationArrow(Vector2.right, sel, sel.FindSelectableOnRight()); SelectableEditor.DrawNavigationArrow(Vector2.up, sel, sel.FindSelectableOnUp()); SelectableEditor.DrawNavigationArrow(-Vector2.up, sel, sel.FindSelectableOnDown()); } }
private static void DrawNavigationForSelectable(Selectable sel) { // ISSUE: object of a compiler-generated type is created // ISSUE: variable of a compiler-generated type SelectableEditor.\u003CDrawNavigationForSelectable\u003Ec__AnonStorey1 selectableCAnonStorey1 = new SelectableEditor.\u003CDrawNavigationForSelectable\u003Ec__AnonStorey1(); if ((UnityEngine.Object)sel == (UnityEngine.Object)null) { return; } // ISSUE: reference to a compiler-generated field selectableCAnonStorey1.transform = sel.transform; // ISSUE: reference to a compiler-generated method Handles.color = new Color(1f, 0.9f, 0.1f, !((IEnumerable <Transform>)Selection.transforms).Any <Transform>(new Func <Transform, bool>(selectableCAnonStorey1.\u003C\u003Em__0)) ? 0.4f : 1f); SelectableEditor.DrawNavigationArrow(-Vector2.right, sel, sel.FindSelectableOnLeft()); SelectableEditor.DrawNavigationArrow(Vector2.right, sel, sel.FindSelectableOnRight()); SelectableEditor.DrawNavigationArrow(Vector2.up, sel, sel.FindSelectableOnUp()); SelectableEditor.DrawNavigationArrow(-Vector2.up, sel, sel.FindSelectableOnDown()); }