Class InstantiationConfiguration
Contains the configuration settings for gameobjects that need to be instantiated before being snapshotted
Inherited Members
Namespace: VISABConnector.Unity
Assembly: VISABConnector.Unity.dll
Syntax
public class InstantiationConfiguration
Properties
| Improve this Doc View SourceAfterInstantiation
Actions that will be invoked after after the gameobject was successfully instantiated.
Declaration
public Action<GameObject> AfterInstantiation { get; set; }
Property Value
Type | Description |
---|---|
Action<UnityEngine.GameObject> |
PrefabPath
Contains the prefab path in case you want to instantiate a prefab
Declaration
public string PrefabPath { get; set; }
Property Value
Type | Description |
---|---|
String |
SpawnLocation
Location where gameobject will be instantiated
Declaration
public Vector3 SpawnLocation { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.Vector3 |
SpawnRotation
In case you want to rotate the gameobject
Declaration
public Vector3 SpawnRotation { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.Vector3 |