private void Start() { layermask = LayerMaskGenerator.Generate(IgnoreLayer.Specified, this.gameObject.layer); }
private void Start() { layermask = LayerMaskGenerator.Generate(IgnoreLayer.Specified, this.gameObject.layer); LogView.Log("Detector will ignore: [" + LayerMask.LayerToName(this.gameObject.layer) + "] layer."); }