Documentation

Unity Engine

Download Unity

Unity Engine

GetSpawnSystemInfo

Gets state on a spawn system.
Read time 1 minuteLast updated 16 days ago

Definition

GetSpawnSystemInfo(int, VFXSpawnerState)

Gets state on a spawn system.
public void GetSpawnSystemInfo(int nameID, VFXSpawnerState spawnState)

Parameters

nameID

The system ID. This is the same ID that Shader.PropertyToID returns.

spawnState

A modified VFXSpawnerState instance.

Remarks

Use VFXSpawnerState as parameter to avoid an allocation.

GetSpawnSystemInfo(int)

Gets state on a spawn system.
public VFXSpawnerState GetSpawnSystemInfo(int nameID)

Parameters

nameID

The system ID. This is the same ID that Shader.PropertyToID returns.

Returns

Type

Description

VFXSpawnerStateA VFXSpawnerState instance.

Remarks

Use VFXSpawnerState as parameter to avoid an allocation.

GetSpawnSystemInfo(string)

Gets state on a spawn system.
public VFXSpawnerState GetSpawnSystemInfo(string name)

Parameters

name

The name of the spawn system.

Returns

Type

Description

VFXSpawnerStateA VFXSpawnerState instance.

Remarks

Use VFXSpawnerState as parameter to avoid an allocation.