123456789101112131415161718192021222324252627282930 |
- //------------------------------------------------------------
- // Game Framework
- // Copyright © 2013-2021 Jiang Yin. All rights reserved.
- // Homepage: https://gameframework.cn/
- // Feedback: mailto:ellan@gameframework.cn
- //------------------------------------------------------------
- using UnityEngine;
- namespace MetaClient
- {
- 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);
- }
- }
- }
|