using System.Collections; using System.Collections.Generic; using UnityEngine; public class click001 : MonoBehaviour { public bool WindowShow = false; , , , ); public Renderer rend; public int fontSize; public FontStyle fontStyle; public RectOffset m…
原文:http://mobile.51cto.com/iphone-273895.htm iPad与iPhone 开发区别详解是本文要介绍的内容,先来看看他们的区别. 1.首先我们先从官方发布的SDK来做些比较 iOS 3.2 API Diffs Document that lists new and changed http://developer.apple.com/library/ios/#releasenotes/General/iPhone32APIDiffs/index.html 通…
最近遇到一个需求,就是我们在做完一个场景后,美工感觉字体不好看,效果不是很好,想要换一种字体.UGUI的界面已经搭完,如果要一个一个Text寻找,工作量将是巨大.而且作为程序人员是不会容忍自己做这些机械工作的,所以,有必要写一个脚本来让场景中的Text字体变换了. using UnityEngine; using System.Collections; using UnityEditor; using UnityEditor.SceneManagement; using UnityEngine.…
Logs Viewer 功能描述 Using this tool you can easily check your editor console logs inside the game itself! No need to go back to the project and do any tests to track the problems! 使用此工具,不管在手机或者Unity Editor中,你都可以很容易地检查/查看游戏输出的日志,而不需要回到项目和做任何测试跟踪问题!(开源免费)…