Constructor GameObjectInstantiator
GameObjectInstantiator(IGltfReadable, Transform, ICodeLogger, InstantiationSettings)
Constructs a GameObjectInstantiator
Declaration
public GameObjectInstantiator(IGltfReadable gltf, Transform parent, ICodeLogger logger = null, InstantiationSettings settings = null)
Parameters
Type | Name | Description |
---|---|---|
IGltfReadable | gltf | glTF to instantiate from |
Transform | parent | Generated GameObjects will get parented to this Transform |
ICodeLogger | logger | Custom logger |
InstantiationSettings | settings | Instantiation settings |