| | |
| | | [SerializeField] public UILayer uiLayer = UILayer.Mid; |
| | | [SerializeField][HideInInspector] public string uiName; |
| | | [SerializeField] public bool isMainUI = false; |
| | | [SerializeField] public bool supportParentChildRelation = true; // 新增:是否支持父子关系 |
| | | |
| | | // 新增:是否支持父子关系 |
| | | // 父子关系:UI拥有的上下级链式关系 |
| | | // 在非特定情况下 都要拥有父子关系 (一般来说功能都要有父子关系 例外的是例如系统弹窗 |
| | | // 主界面这种不需要 在制作UI伤 目前的需求是 功能全部做在Middle层) |
| | | // 拥有父子关系 在关闭父界面的时候 子界面会连同一起关闭 子界面打开时 父界面的“回合数”会刷新 回合数详见持久化相关的注释 |
| | | // |
| | | [SerializeField] public bool supportParentChildRelation = true; |
| | | |
| | | // 持久化相关 |
| | | [SerializeField] public bool isPersistent = false; |