Legacy Documentation: Version 2017.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Shader.GetGlobalFloat

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

Description

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

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