private void SetLayerParent(IView view, UILayerMgr layerMgr) { var layer = view.Self.GetComponent <ILayer>(); view.Self.SetParent(layerMgr.GetUILayer(layer.Layer)); }
protected virtual void InitComponent(Transform canvas) { _layerMgr = new UILayerMgr(); _layerMgr.Init(canvas); }