Unityメモ オブジェクトの幅を取得bounds.size ツイート Unity オブジェクトの幅を取得 メモbounds.size 参考サイト http://mizutanikirin.net/unity-gameobject%E3%81%AE%E9%AB%98%E3%81%95%E5%B9%85%E3%81%AE%E5%8F%96%E5%BE%97 gameObject.GetComponent().bounds.size.x; gameObject.GetComponent().bounds.size.y; 続きを読む →