public bool HasProperty(string name);
public bool HasProperty(int nameID);

Parameters

nameIDThe name ID of the property retrieved by Shader.PropertyToID.
nameThe name of the property.

Description 描述

Checks if material's shader has a property of a given name.