📜  unity get public layermask 变量 - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:47.387000             🧑  作者: Mango

代码示例1
int layer = (int)Mathf.Log(uninteractablePartsLayer.value, 2);
Debug.Log("uninteractablePartsLayer "+LayerMask.LayerToName(layer));