|
|
|
|
|
|
void OnGUI(); |
|
|
|
void Update(); |
|
|
|
|
|
|
|
float DevicePixelRatio { get; } |
|
|
|
float devicePixelRatio { get; } |
|
|
|
} |
|
|
|
|
|
|
|
public class PlayerDisplayMetrics: DisplayMetrics { |
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public float DevicePixelRatio { |
|
|
|
public float devicePixelRatio { |
|
|
|
get { |
|
|
|
if (this._devicePixelRatio > 0) { |
|
|
|
return this._devicePixelRatio; |
|
|
|