ドキュメント

Unity Engine

Unity Engine

GetGlobalKeywordName(ShaderKeyword)

Gets the string name of the global keyword.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

注意
Removed. GetGlobalKeywordName is deprecated. Use the ShaderKeyword.name property instead.
public static string GetGlobalKeywordName(ShaderKeyword index)

Parameters

Returns

Type

Description

string

Remarks

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