private void CalcValidLayers()
{
this.s_LayerNames = new List<string>();
this.s_LayerMasks = new List<int>();
this.m_AllLayersMask = 0;
for (int i = 0; i < 0x20; i++)
{
string layerName = InternalEditorUtility.GetLayerName(i);
if (layerName != string.Empty)
{
this.s_LayerNames.Add(layerName);
this.s_LayerMasks.Add(i);
this.m_AllLayersMask |= ((int) 1) << i;
}
}
}