Load("Texture") as TextAsset; Texture2D tex = new Texture2D(1,1); tex.LoadImage(bindata.bytes); 2 直接在编辑器中赋值public TextAsset textFile;.
確定! 回上一頁