using UnityEngine;using System;using System.Collections.Generic; using System.Collections;using System.Linq;using System.IO; public class NewBehaviourScript : MonoBehaviour { // Use this for initialization void Start () { var stream = new FileStream(…
Unity3d surface Shaderswith DX11 Tessellation Unity3d surface shader 在DX11上的曲面细分 I write this article, according to the unity3d official document, and look up some data in the web, and add to some idea by myself. 根据官方文档,并查阅了一些资料加上我个人的理解写出此文. I write…
1 GUI汇总 function OnGUI() { GUI.Label(Rect(1,1,100,20),"I'm a Label"); //1 GUI.Box(Rect(1,21,100,20),"I'm a Box"); //2 GUI.Button(Rect(1,41,100,20),"I'm a Button"); //3 GUI.RepeatButton(Rect(1,61,120,20),"I'm a RepeatButt…