class MAGES::Utilities::GameObjectSpawner::SpawnParams¶
Overview¶
Provides all of the possible options/configurations for spawning a GameObject. More…
class SpawnParams { public: // properties GameObject Prefab; Transform Parent; bool IsUnique; bool IsLocal; string OptPath; bool HasPath; };
Detailed Documentation¶
Provides all of the possible options/configurations for spawning a GameObject.
Properties¶
GameObject Prefab
Gets or sets the prefab to spawn.
Transform Parent
Gets or sets the parent transform for the spawned object. Can be null.
bool IsUnique
Gets or sets a value indicating whether the object is unique or not.
bool IsLocal
Gets or sets a value indicating whether the object will spawn only locally or not.
string OptPath
Gets or sets the (optional) path to the object to spawn. Used when the object is spawned from code.
bool HasPath
Gets a value indicating whether the object has a path.