有趣的功能,自定义鼠标指针
public Texture texture;
private void OnGUI()
{
Rect rect = new Rect(Input.mousePosition.x - (texture.width >> 1),
Screen.height - Input.mousePosition.y - (texture.height >> 1),
texture.width, texture.height);
GUI.DrawTexture(rect, texture);
Cursor.visible = false;
}