Unity3D NGUI自適應屏幕解析度(2014/4/17更新) - 脫莫柔 - 博客頻道 - CSDN.NET

Unity3D NGUI自適應屏幕解析度(2014/4/17更新) - 脫莫柔 - 博客頻道 - CSDN.NET

瀏覽:1483
日期:2025-05-06
public float GetPixelSizeAdjustment (int height) { height = Mathf.Max(2, height); //修改1 if (scalingStyle == Scaling.FixedSize || scalingStyle == Scaling.FixedSizeofWidth) return (float)manualHeight / height; #if UNITY_IPHONE || UNITY_ANDROID if ......看更多