Exemplo n.º 1
0
 public GameObjectStreamer(string rootObjectName, MaterialRepository materialRepository, Transform parentForStreamedObjects, CollisionStreamingType collisions, bool supportsFlattening)
 {
     m_materialRepository   = materialRepository;
     m_gameObjectRepository = new GameObjectRepository(rootObjectName, parentForStreamedObjects, materialRepository, supportsFlattening);
     m_gameObjectCreator    = new GameObjectFactory();
     m_collisions           = collisions;
 }
Exemplo n.º 2
0
 public GameObjectStreamer(string rootObjectName, MaterialRepository materialRepository, Transform parentForStreamedObjects, CollisionStreamingType collisions)
 {
     m_materialRepository   = materialRepository;
     m_gameObjectRepository = new GameObjectRepository(rootObjectName, parentForStreamedObjects, materialRepository);
     m_gameObjectCreator    = new GameObjectFactory(m_gameObjectRepository.Root.transform);
     m_collisions           = collisions;
 }