お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Closeposition | 表示する範囲 |
mouse | 使用するカーソル |
controlID | ターゲットとなるコントロールID |
Rect空間内のカーソルを変更するカスタムマウスポインタを追加します
function OnGUI() { // show the "Link" cursor when the mouse is howering over this rectangle. EditorGUIUtility.AddCursorRect (Rect(10,10,100,100), MouseCursor.Link); }