お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Close無視されるレイヤーを設定する
See layer mask.
By default this is zero - i.e. no layers are ignored. Each set bit
in ignoreLayers
will make this layer not affected by the projector.
function Start() { var proj : Projector = GetComponent (Projector); // Make the projector ignore Default (0) layer proj.ignoreLayers = (1<<0); }
See Also: projector component, Layers.