Version: 2022.3
public bool HasInt (int nameID);
public bool HasInt (string name);

参数

nameID 属性的 ID。这与 Shader.PropertyToID 返回的 ID 相同。
name 属性的名称。

描述

Checks if the Visual Effect can override an integer with the name you pass in.


Did you find this page useful? Please give it a rating: