HasSystem
Use this function to determine if the VisualEffect has the system you pass in.
읽는 시간 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. |