30 lines
1000 B
C#
30 lines
1000 B
C#
//------------------------------------------------------------
|
|
// Game Framework
|
|
// Copyright © 2013-2021 Jiang Yin. All rights reserved.
|
|
// Homepage: https://gameframework.cn/
|
|
// Feedback: mailto:ellan@gameframework.cn
|
|
//------------------------------------------------------------
|
|
|
|
using UnityEngine;
|
|
|
|
namespace Definition
|
|
{
|
|
public static partial class Constant
|
|
{
|
|
/// <summary>
|
|
/// 层。
|
|
/// </summary>
|
|
public static class Layer
|
|
{
|
|
public const string DefaultLayerName = "Default";
|
|
public static readonly int DefaultLayerId = LayerMask.NameToLayer(DefaultLayerName);
|
|
|
|
public const string UILayerName = "UI";
|
|
public static readonly int UILayerId = LayerMask.NameToLayer(UILayerName);
|
|
|
|
public const string TargetableObjectLayerName = "Targetable Object";
|
|
public static readonly int TargetableObjectLayerId = LayerMask.NameToLayer(TargetableObjectLayerName);
|
|
}
|
|
}
|
|
}
|