public IView CreateView(GameObject prefabOrInstance, bool realInstance, bool resetTransform) { var view = SimpleView.Create(prefabOrInstance, realInstance, resetTransform); _views.Add(view.Id, view); return(view); }
public IView GetByIdentity(Guid id) { SimpleView view = null; return(_views.TryGetValue(id, out view) ? view : null); }