ボタンでのRectは便利だが、少し使いづらい
originRectにRectがあると想定してこう使えるようなる拡張作った
URL: https://gist.github.com/shinriyo/5652200
if (GUI.Button (originRect, "Push")) { // do something }
ボタンでのRectは便利だが、少し使いづらい
originRectにRectがあると想定してこう使えるようなる拡張作った
URL: https://gist.github.com/shinriyo/5652200
if (GUI.Button (originRect, "Push")) { // do something }