Texture2D _MainTex; SamplerState sampler_MainTex; // "sampler" + “_MainTex” // ... half4 color = _MainTex.Sample(sampler_MainTex, uv);.
確定! 回上一頁