Version: 2019.2

Shader.GetGlobalFloat

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

Parameters

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

Description

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