Method group is Obsolete

ShaderKeyword.GetGlobalKeywordName

Obsolete GetGlobalKeywordName is deprecated. Use the ShaderKeyword.name property instead.

Declaration

public static string GetGlobalKeywordName(Rendering.ShaderKeyword index);

Description

Gets the string name of the global keyword.

Unity now provides the ShaderKeyword.name API which works with all shader keyword types. It is best practice to use this API instead.


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