Example #1
0
        public void UnRegisterViewSource(DrawMeshViewSourceBase prefab)
        {
            if (prefab == null)
            {
                ViewSourceIsNullException.Throw();
            }

            this.UnRegisterViewSource(prefab.GetSource());
        }
Example #2
0
        public void InstantiateView(DrawMeshViewSourceBase prefab, Entity entity)
        {
            if (prefab == null)
            {
                ViewSourceIsNullException.Throw();
            }

            this.InstantiateView(prefab.GetSource(), entity);
        }
Example #3
0
        public ViewId RegisterViewSource(DrawMeshViewSourceBase prefab)
        {
            if (prefab == null)
            {
                ViewSourceIsNullException.Throw();
            }

            return(this.RegisterViewSource(new UnityDrawMeshProviderInitializer(), prefab.GetSource()));
        }
        public void InstantiateView(DrawMeshViewSourceBase prefab, Entity entity)
        {
            var viewSource = prefab.GetSource <TEntity>();

            this.InstantiateView(this.GetViewSourceId(viewSource), entity);
        }
 public void UnRegisterViewSource(DrawMeshViewSourceBase prefab)
 {
     this.UnRegisterViewSource(prefab.GetSource <TEntity>());
 }
 public ViewId RegisterViewSource(DrawMeshViewSourceBase prefab)
 {
     return(this.RegisterViewSource(new UnityDrawMeshProviderInitializer <TEntity>(), prefab.GetSource <TEntity>()));
 }
 public void InstantiateView <TEntity>(DrawMeshViewSourceBase prefab, Entity entity) where TEntity : struct, IEntity
 {
     this.InstantiateView(prefab.GetSource <TEntity>(), entity);
 }
Example #8
0
 public void InstantiateView(DrawMeshViewSourceBase prefab, Entity entity)
 {
     this.InstantiateView(prefab.GetSource(), entity);
 }