GetRectTransform
GetRectTransform(string, RectTransform)
説明
RectTransform型の値を取得する。
パラメーター
| パラメーター名 | 説明 | 
|---|---|
| name | 名前。 | 
| defaultValue | デフォルトの値。パラメータがない場合に返される。 | 
戻り値
パラメータの値。パラメータがない場合はdefaultValueを返す。
GetRectTransform(int, RectTransform)
説明
RectTransform型の値を取得する。
パラメーター
| パラメーター名 | 説明 | 
|---|---|
| id | ID。 | 
| defaultValue | デフォルトの値。パラメータがない場合に返される。 | 
戻り値
パラメータの値。パラメータがない場合はdefaultValueを返す。
GetRectTransform(string, out RectTransform)
説明
RectTransform型の値を取得する。
パラメーター
| パラメーター名 | 説明 | 
|---|---|
| name | 名前。 | 
| value | 取得する値。 | 
戻り値
指定した名前のパラメータがあった場合にtrue。
GetRectTransform(int, out RectTransform)
説明
RectTransform型の値を取得する。
パラメーター
| パラメーター名 | 説明 | 
|---|---|
| id | ID。 | 
| value | 取得する値。 | 
戻り値
指定した名前のパラメータがあった場合にtrue。