51 lines
1.2 KiB
C#
51 lines
1.2 KiB
C#
using UnityEngine;
|
|
|
|
namespace RedHotRoast
|
|
{
|
|
public static class UIInfoConst
|
|
{
|
|
public static Color DefaultUIMaskColor = new Color(0, 0, 0, 0.8f);
|
|
}
|
|
|
|
public class UIInfo
|
|
{
|
|
public string packageName = null;
|
|
public string assetName = null;
|
|
public UILayerType layerType = UILayerType.Normal;
|
|
public UIGComType gComType = UIGComType.GComponent;
|
|
public uint closeUIMsgId = 0;
|
|
public bool isSwitchSceneCloseUI = false;
|
|
public bool isTickUpdate = false;
|
|
public bool isClosetWorldRaycast = false;
|
|
public bool isNeedOpenAnim = false;
|
|
public bool isNeedCloseAnim = false;
|
|
public bool isNeedUIMask = false;
|
|
public bool isNeedUIMaskCloseEvent = false;
|
|
public Color uiMaskCustomColor = UIInfoConst.DefaultUIMaskColor;
|
|
}
|
|
|
|
public enum UILayerType : int
|
|
{
|
|
Background = 0,
|
|
Bottom = 1,
|
|
|
|
Normal = 2,
|
|
Top = 3,
|
|
|
|
FullScreen = 4,
|
|
Popup = 5,
|
|
|
|
Highest = 6,
|
|
Animation = 7,
|
|
Tips = 8,
|
|
|
|
Loading = 9,
|
|
System = 10,
|
|
}
|
|
|
|
public enum UIGComType : int
|
|
{
|
|
GComponent = 0,
|
|
Window = 1,
|
|
}
|
|
} |