Version: 2022.3
言語: 日本語
public static int GetGlobalInt (string name);
public static int GetGlobalInt (int nameID);

パラメーター

nameID Shader.PropertyToID によって検索されるプロパティーの nameID
name プロパティーの名前

説明

This method is deprecated. Use GetGlobalFloat or GetGlobalInteger instead.

Calling this method is equivalent to calling GetGlobalFloat and casting the returned value to integer. See Also: GetGlobalFloat, GetGlobalInteger.