private static bool Prefix(Rect inRect, IInspectPane pane) { if (!State.ModifyPane) { return(true); } InspectPanePlus.OnGUI(inRect, pane); return(false); }
private static bool Prefix(Rect inRect, IInspectPane pane) { if (!State.AltInspectPane || !State.PawnSelected) { return(true); } InspectPanePlus.OnGUI(inRect, pane); return(false); }