using System.Collections; using System.Collections.Generic; using UnityEngine; public partial class Const { public static class Layer { private static string BlockSlotName = "BlockSlot"; private static string SellSlotName = "SellSlot"; private static string GroundName = "Ground"; public static int BlockSlot = LayerMask.NameToLayer(BlockSlotName); public static int SellSlot = LayerMask.NameToLayer(SellSlotName); public static int Ground = LayerMask.NameToLayer(GroundName); public static int OpLayer = LayerMask.GetMask(BlockSlotName, SellSlotName, GroundName); } }