avoid mark viewMetrics dirty in update, which will potentially leads …
public void OnEnable() {
this._lastDevicePixelRatio = GameViewUtil.getGameViewDevicePixelRatio();
}
public void onViewMetricsChanged() {
public float devicePixelRatio {
get { return this._lastDevicePixelRatio; }
void OnEnable();
void OnGUI();
void Update();
void onViewMetricsChanged();
float devicePixelRatio { get; }
public void Update() {
get {
void _handleViewMetricsChanged(string method, List<JSONNode> args) {
this._windowAdapter.onViewMetricsChanged();
this._displayMetrics.Update();
this._displayMetrics.onViewMetricsChanged();
protected override void OnEnable() {