Ejemplo n.º 1
0
        public ContentCachedTurretAssemblyPrefab(RootModel model)
        {
            TurretAssemblyAssembler assembler = new TurretAssemblyAssembler();
            GameObject instance = assembler.Assemble(model).gameObject;

            _cache = new SceneCachedGameObject(instance);
        }
        public ContentCachedPrefab(RootModel model)
        {
            GameObjectAssembler assembler = new GameObjectAssembler();
            GameObject          instance  = assembler.Assemble(model);

            _cache = new SceneCachedGameObject(instance);
        }