Files
UltimateFishing/Assets/Scripts/Assembly-CSharp/BitStrap/LayerHelper.cs
2026-02-21 16:45:37 +08:00

21 lines
315 B
C#

namespace BitStrap
{
public static class LayerHelper
{
public static int GetMask(int layerIndex)
{
return 1 << layerIndex;
}
public static int GetMask(int[] layerIndexes)
{
int num = 0;
foreach (int layerIndex in layerIndexes)
{
num |= GetMask(layerIndex);
}
return num;
}
}
}