Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetSpawnSystemInfo

Gets state on a spawn system.
Read time 1 minuteLast updated 7 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

VFXSpawnerState

Remarks

Use VFXSpawnerState as parameter to avoid an allocation.

GetSpawnSystemInfo(string)

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

Parameters

name

Returns

Type

Description

VFXSpawnerState

Remarks

Use VFXSpawnerState as parameter to avoid an allocation.