Version: 2017.3

Shader.GetGlobalInt

Cambiar al Manual
public static int GetGlobalInt (string name);
public static int GetGlobalInt (int nameID);

Descripción

Gets a global int property for all shaders previously set using SetGlobalInt.

It is only an alias to GetGlobalFloat that the float value is cast to integer.

See Also: GetGlobalFloat.