言語: 日本語
  • C#
  • JS
  • Boo

スクリプト言語

お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。

TextureFormat.ARGB32

Description

各色が8ビットでアルファが適用されているテクスチャフォーマット

	function Start () {
		// Create a new ARGB texture and assign it to the renderer's material
		var texture = new Texture2D (128, 128, TextureFormat.ARGB32, false);
		renderer.material.mainTexture = texture;
	}