예제 #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);
        }
예제 #2
0
        public IView GetByIdentity(Guid id)
        {
            SimpleView view = null;

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