Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


HasSystem

Use this function to determine if the VisualEffect has the system you pass in.
Read time 1 minuteLast updated 5 days ago

Definition

HasSystem(int)

Use this function to determine if the VisualEffect has the system you pass in.
public bool HasSystem(int nameID)

Parameters

nameID

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

Returns

Type

Description

booltrue if the VisualEffect has the system you pass in. Returns false otherwise.

HasSystem(string)

Use this function to determine if the VisualEffect has the system you pass in.
public bool HasSystem(string name)

Parameters

name

The name of the property.

Returns

Type

Description

booltrue if the VisualEffect has the system you pass in. Returns false otherwise.