示例#1
0
        private void SetLayerParent(IView view, UILayerMgr layerMgr)
        {
            var layer = view.Self.GetComponent <ILayer>();

            view.Self.SetParent(layerMgr.GetUILayer(layer.Layer));
        }
示例#2
0
 protected virtual void InitComponent(Transform canvas)
 {
     _layerMgr = new UILayerMgr();
     _layerMgr.Init(canvas);
 }