using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Ether { public class FrameData { /// /// 界面名称 /// public string FrameName; /// /// Prefab路径 /// public string PrefabPath; /// /// 界面层级 /// public FrameTier Tier = FrameTier.Middle; /// /// 界面类型 /// public FrameType FrameType = FrameType.Frame; /// /// 界面物体 /// public GameObject Root; } public class OpenFrameData : DataBase { public ParentFrameData ParentFrameData { get; private set; } //父界面的信息 public void SetParentFrameData(string parentFrameName, Transform parent) { ParentFrameData = new ParentFrameData() { parentFrameName = parentFrameName, parent = parent }; } } public class ParentFrameData { public string parentFrameName; public Transform parent; } }