mergemilitary/Assets/Scripts/Const/Const.Layer.cs

19 lines
642 B
C#
Raw Permalink Normal View History

2022-05-23 13:39:59 +00:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public partial class Const
{
public static class Layer
{
2022-06-08 13:23:44 +00:00
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);
2022-05-23 13:39:59 +00:00
}
}