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

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