Unity allows you to set the level of graphical quality it will attempt to render. Generally speaking, quality comes at the expense of framerate and so it may be best not to aim for the highest quality on mobile devices or older hardware since it will
网上找了半天,没一个能用的,干脆自己写个,直接拷贝这个脚本就行 这个是ios版本的,安卓的话写在注释里面,去掉注释就能用了 现在ios支持一种新格式叫astc比原本的pvrtc压缩比更高,而且质量更高,但是iphone5及更老的机子不支持,所以不打算支持iphone5的话,可以用新格式,不然还是用pvrtc 我试了下,感觉6*6的astc的性价比最高 下面放脚本 using System.Collections; using System.Collections.Generic; using S
public class Main : MonoBehaviour { public Texture2D cursorTexture;//图片 public CursorMode cursorMode = CursorMode.Auto; public Vector2 hotSpot = Vector2.zero;//以左上角为目标的偏移量 void Start() { //设置光标 Cursor.SetCursor(cursorTexture, hotSpot, cursorMode); }
转自:http://www.programering.com/a/MTNxYDMwATQ.html A few days ago a friend asked me about Unity3D inside Protobuf, was something to write this off until now, feel shy. In this paper, the test environment: System: WINDOWS 7 (third, 6), OS (fourth) X 10