HasSystem
Use this function to determine if the VisualEffect has the system you pass in.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.VFX
- Assembly: UnityEngine.VFXModule
HasSystem(int)
Use this function to determine if the VisualEffect has the system you pass in.
public bool HasSystem(int nameID)
Parameters
The system ID. This is the same ID that Shader.PropertyToID returns.
Returns
Type | Description |
|---|---|
| bool | true 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
The name of the property.
Returns
Type | Description |
|---|---|
| bool | true if the VisualEffect has the system you pass in. Returns false otherwise. |