1.获得层数字
public readonly static int Layer_PostProcessing = LayerMask.NameToLayer("PostProcessing");
2.获得层蒙版
public readonly static int s = LayerMask.GetMask("PostProcessing");
https://blog.csdn.net/zhaixh_89/article/details/82686757
image.png