//------------------------------------------------------------ // 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 { /// /// 层。 /// 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); } } }