20 lines
686 B
C#
20 lines
686 B
C#
using UnityEngine;
|
|
|
|
namespace Framework
|
|
{
|
|
public partial class Constants
|
|
{
|
|
public class Layer
|
|
{
|
|
public const string DEFAULT_NAME = "Default";
|
|
public const string UIVIEW_NAME = "UIView";
|
|
public const string UI_NAME = "UI";
|
|
public const string GROUND_NAME = "Ground";
|
|
|
|
public static readonly int DEFAULT = LayerMask.NameToLayer(DEFAULT_NAME);
|
|
public static readonly int UIVIEW = LayerMask.NameToLayer(UIVIEW_NAME);
|
|
public static readonly int UI = LayerMask.NameToLayer(UI_NAME);
|
|
public static readonly int GROUND = LayerMask.NameToLayer(GROUND_NAME);
|
|
}
|
|
}
|
|
} |