this._lastDevicePixelRatio = GameViewUtil.getGameViewDevicePixelRatio();
}
public void OnEnable() {
public float DevicePixelRatio {
get { return this._lastDevicePixelRatio; }
public interface DisplayMetrics {
void OnEnable();
void Update();
float DevicePixelRatio { get; }
float _devicePixelRatio = 0;
public void OnGUI() {
Input.simulateMouseWithTouches = false;
this._displayMetrics = DisplayMetricsProvider.provider();
this._displayMetrics.OnEnable();
if (_repaintEvent == null) {
_repaintEvent = new Event {type = EventType.Repaint};
return new _EditableInputTypeWidgetState();
bool unityKeyboard = false;
//width:300,
// widget,
));