Version: 2022.2
public bool HasSystem (int nameID);
public bool HasSystem (string name);

参数

nameID The system ID. This is the same ID that Shader.PropertyToID returns.
name 属性的名称。

返回

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

描述

Use this function to determine if the VisualEffect has the system you pass in.