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

パラメーター

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

説明

This method is deprecated. Use GetFloat or GetInteger instead.

この関数は渡された値を int に型キャストする GetFloat のエイリアスです。


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