Constructor GameObjectBoundsInstantiator
GameObjectBoundsInstantiator(IGltfReadable, Transform, ICodeLogger, InstantiationSettings)
Constructs a GameObjectInstantiator
Declaration
public GameObjectBoundsInstantiator(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 |