摘要: using UnityEngine; private float ratio = 1f; private float panelW; private float panelH; UIRoot root = GameObject.FindObjectOfType(); if (root != null) { // 实际尺寸和设计尺寸比例 ratio = (float)root.a... 阅读全文
posted @ 2017-06-06 20:57 色色先生 阅读(2273) 评论(2) 推荐(0) 编辑