Version: 5.6
public int ignoreLayers ;

説明

無視されるレイヤーを設定する

参照 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);
    }

関連項目: projector component, Layers.