Exemple #1
0
        public IView CreateView(GameObject prefabOrInstance, bool realInstance, bool resetTransform)
        {
            var view = SimpleView.Create(prefabOrInstance, realInstance, resetTransform);

            _views.Add(view.Id, view);
            return(view);
        }
Exemple #2
0
        public IView GetByIdentity(Guid id)
        {
            SimpleView view = null;

            return(_views.TryGetValue(id, out view) ? view : null);
        }