void DrawScrollerDebug(Rect rect) { if (thisSystemIsReady) { string result = ""; IUIManager uiManager = uiManagerAdaptor.GetUIManager(); result += "scroller: "; IScroller handlingScroller = uiManager.GetInputHandlingScroller(); if (handlingScroller != null) { result += handlingScroller.GetName() + "\n"; } else { result += "null\n"; } result += "event: " + uiManager.GetEventName(); GUI.Label( rect, result ); } }