Shader.GetPropertyType

Cambiar al Manual
public ShaderUtil.ShaderPropertyType GetPropertyType (int propertyIndex);

Parámetros

propertyIndexThe index of the shader property.

Descripción

Returns the ShaderPropertyType of the property at the specified index.

If Unity cannot find a property at the specified index, the function throws an ArgumentOutOfRangeException.