private void AttachHost(GameObject host) { _hostObject = host; GameObjectTool.ForeachAllGameObject(host, (v) => { _objectDict[v.name] = v; }); }
private void UpdateParent() { if (_parent == null) { return; } if (_view == null || _view == _parent) { return; } GameObjectTool.AddChild(_view, _parent); }