2024-03-14 16:50:31 +08:00
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
namespace Framework
|
|
|
|
|
{
|
|
|
|
|
public partial class Constants
|
|
|
|
|
{
|
|
|
|
|
public class Layer
|
|
|
|
|
{
|
|
|
|
|
public const string DEFAULT_NAME = "Default";
|
|
|
|
|
public const string UIVIEW_NAME = "UIView";
|
2024-04-03 14:23:41 +08:00
|
|
|
public const string UI_NAME = "UI";
|
|
|
|
|
public const string GROUND_NAME = "Ground";
|
2024-10-24 15:00:57 +08:00
|
|
|
public const string SKILL_NAME = "Skill";
|
2025-06-23 19:42:04 +08:00
|
|
|
public const string TEAMEDIT_NAME = "TeamEdit";
|
2024-03-14 16:50:31 +08:00
|
|
|
|
|
|
|
|
public static readonly int DEFAULT = LayerMask.NameToLayer(DEFAULT_NAME);
|
|
|
|
|
public static readonly int UIVIEW = LayerMask.NameToLayer(UIVIEW_NAME);
|
2024-04-03 14:23:41 +08:00
|
|
|
public static readonly int UI = LayerMask.NameToLayer(UI_NAME);
|
|
|
|
|
public static readonly int GROUND = LayerMask.NameToLayer(GROUND_NAME);
|
2024-10-24 15:00:57 +08:00
|
|
|
public static readonly int SKILL = LayerMask.NameToLayer(SKILL_NAME);
|
2025-06-23 19:42:04 +08:00
|
|
|
public static readonly int TEAMEDIT = LayerMask.NameToLayer(TEAMEDIT_NAME);
|
2024-03-14 16:50:31 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|