HasSystem
Use this function to determine if the VisualEffect has the system you pass in.
阅读时间1 分钟最后更新于 1 个月前
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. |