using UnityEngine; using System.Collections; using UnityEngine.EventSystems; //using UnityEngine.SceneManagement; using System; using UnityEngine.UI; using System.Runtime.InteropServices; public class DrawWindow : MonoBehaviour { //private GameOb
// 『REM』手机屏幕适配,兼容更改过默认字体大小的安卓用户 function adapt(designWidth, rem2px) { // designWidth:'设计图宽度' 1rem==rem2px+'px' var d = window.document.createElement('div'); d.style.width = '1rem'; d.style.display = "none"; var head = window.document.getElements