Shader.GetGlobalFloat

Switch to Manual
public static float GetGlobalFloat(string name);
public static float GetGlobalFloat(int nameID);

Parameters

nameID The name ID of the property retrieved by Shader.PropertyToID.
name The name of the property.

Description

Gets a global float property for all shaders previously set using SetGlobalFloat.

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