{"id":280,"date":"2016-12-02T12:39:00","date_gmt":"2016-12-02T03:39:00","guid":{"rendered":"https:\/\/cg-method.com\/unity\/?p=280"},"modified":"2026-10-03T17:48:35","modified_gmt":"2026-10-03T08:48:35","slug":"non-code-switch-button-display-state","status":"publish","type":"post","link":"https:\/\/cg-method.com\/unity\/non-code-switch-button-display-state\/","title":{"rendered":"Unity\u3067\u30dc\u30bf\u30f3\u304b\u3089UI\u8868\u793a\u3092\u5207\u308a\u66ff\u3048\u308b\u65b9\u6cd5\uff5cSetActive\u3068Animator"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u30dc\u30bf\u30f3\u3067UI\u3092\u958b\u304f\u30fb\u9589\u3058\u308b\u3060\u3051\u306a\u3089\u3001Button\u306eOn Click()\u304b\u3089GameObject.SetActive(bool)\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002\u4e00\u3064\u306e\u30dc\u30bf\u30f3\u3067\u4ea4\u4e92\u306b\u72b6\u614b\u3092\u5207\u308a\u66ff\u3048\u308b\u5834\u5408\u306f\u3001Animator\u306bON\/OFF\u306e\u72b6\u614b\u3068\u9077\u79fb\u3092\u4f5c\u308b\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002\u76ee\u7684\u306b\u5408\u3046\u65b9\u3092\u9078\u3076\u3068\u3001\u4e0d\u8981\u306a\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u8a2d\u5b9a\u3092\u6e1b\u3089\u305b\u307e\u3059\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u5bfe\u8c61\u306fuGUI\u306eButton\u3067\u3059\u3002Unity 6.3\u3068uGUI 2.0\u306e\u516c\u5f0f\u8cc7\u6599\u3092\u53c2\u7167\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u4eca\u56de\u306eUnity\u3067\u306e\u8a2d\u5b9a\u30fb\u518d\u751f\u306f\u672a\u5b9f\u65bd\u3067\u3059\u3002\u5f8c\u534a\u306eSepiaTone\u753b\u50cf\u306f\u65e7\u7248\u4f5c\u4f8b\u3068\u3057\u3066\u6b8b\u3057\u3001\u73fe\u5728\u306eUnity\u3084URP\u3067\u540c\u3058\u624b\u9806\u304c\u52d5\u304f\u8a3c\u62e0\u306b\u306f\u3057\u307e\u305b\u3093\u3002<\/p>\n\n\n<h2 class=\"wp-block-heading\">\u958b\u304f\u30fb\u9589\u3058\u308b\u3068\u3001\u4ea4\u4e92\u306e\u5207\u308a\u66ff\u3048\u306e\u9055\u3044<\/h2>\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u76ee\u7684\u30fb\u75c7\u72b6<\/th><th>\u8a2d\u5b9a\u30fb\u78ba\u8a8d\u5148<\/th><\/tr><\/thead><tbody><tr><td>\u958b\u304f\u30dc\u30bf\u30f3\u3068\u9589\u3058\u308b\u30dc\u30bf\u30f3\u3092\u5225\u306b\u4f5c\u308b<\/td><td>On Click()\u306bGameObject.SetActive(bool)\u3092\u767b\u9332\u3002\u958b\u304f\u306ftrue\u3001\u9589\u3058\u308b\u306ffalse<\/td><\/tr><tr><td>\u4e00\u3064\u306e\u30dc\u30bf\u30f3\u3067OFF\u2192ON\u2192OFF<\/td><td>\u5e38\u6642\u6709\u52b9\u306a\u89aa\u306eAnimator\u3068ON\/OFF\u306e\u30af\u30ea\u30c3\u30d7\u3001Trigger\u3067\u4ea4\u4e92\u306b\u9077\u79fb<\/td><\/tr><tr><td>\u753b\u50cf\u3060\u3051\u3092\u4e00\u6642\u7684\u306b\u96a0\u3059<\/td><td>Image\u306eEnabled\u3092\u5236\u5fa1\u3059\u308b\u65b9\u6cd5\u306a\u3089\u3001GameObject\u3084\u4ed6\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306f\u6709\u52b9\u306e\u307e\u307e<\/td><\/tr><tr><td>\u30d1\u30cd\u30eb\u914d\u4e0b\u306e\u6a5f\u80fd\u3082\u6b62\u3081\u308b<\/td><td>GameObject\u306e\u975e\u30a2\u30af\u30c6\u30a3\u30d6\u5316\u3002\u305f\u3060\u3057\u5236\u5fa1\u30dc\u30bf\u30f3\u30fbAnimator\u3092\u4e00\u7dd2\u306b\u7121\u52b9\u5316\u3057\u306a\u3044<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<h2 class=\"wp-block-heading\">\u65b9\u6cd51\uff1aOn Click()\u3067\u30d1\u30cd\u30eb\u3092\u958b\u304f\u30fb\u9589\u3058\u308b<\/h2>\n\n\n<ol class=\"wp-block-list\"><li>Canvas\u306e\u5b50\u306b<strong>TargetPanel<\/strong>\u3068<strong>OpenButton<\/strong>\u3092\u4f5c\u308a\u307e\u3059\u3002OpenButton\u306fTargetPanel\u306e\u5916\u306b\u7f6e\u304d\u3001\u30d1\u30cd\u30eb\u3092\u9589\u3058\u3066\u3082\u64cd\u4f5c\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/li><li>OpenButton\u306eButton\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067<strong>On Click()<\/strong>\u306e\u300c+\u300d\u3092\u62bc\u3057\u3001TargetPanel\u3092Object\u6b04\u3078\u30c9\u30e9\u30c3\u30b0\u3057\u307e\u3059\u3002<\/li><li>\u95a2\u6570\u306f<strong>GameObject \u2192 SetActive(bool)<\/strong>\u3001bool\u306e\u30c1\u30a7\u30c3\u30af\u306fON\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u5e38\u306b\u958b\u304f\u51e6\u7406\u3067\u3042\u308a\u3001\u4e00\u56de\u3054\u3068\u306b\u53cd\u8ee2\u3059\u308b\u51e6\u7406\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/li><li>\u9589\u3058\u308b\u30dc\u30bf\u30f3\u306b\u3082TargetPanel\u3092\u767b\u9332\u3057\u3001SetActive(bool)\u306e\u30c1\u30a7\u30c3\u30af\u3092OFF\u306b\u3057\u307e\u3059\u3002\u9589\u3058\u308b\u30dc\u30bf\u30f3\u306f\u30d1\u30cd\u30eb\u5185\u306b\u7f6e\u3044\u3066\u3082\u3001\u5916\u306b\u6b8b\u3057\u305fOpenButton\u3067\u518d\u5ea6\u958b\u3051\u308b\u69cb\u6210\u3067\u3059\u3002<\/li><li>\u5fc5\u8981\u306a\u3089\u518d\u751f\u524d\u306bTargetPanel\u3092\u975e\u30a2\u30af\u30c6\u30a3\u30d6\u306b\u3057\u307e\u3059\u3002OpenButton\u3068Canvas\/EventSystem\u306f\u6709\u52b9\u306a\u307e\u307e\u6b8b\u3057\u3001\u958b\u304f\u2192\u9589\u3058\u308b\u2192\u518d\u5ea6\u958b\u304f\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/li><\/ol>\n\n\n<p class=\"wp-block-paragraph\">SetActive\u306f\u5bfe\u8c61\u306e\u30ed\u30fc\u30ab\u30eb\u72b6\u614b\u3092\u5909\u66f4\u3057\u307e\u3059\u3002\u89aa\u304c\u975e\u30a2\u30af\u30c6\u30a3\u30d6\u306a\u3089\u5b50\u3060\u3051true\u306b\u3057\u3066\u3082\u8868\u793a\u3055\u308c\u307e\u305b\u3093\u3002\u8868\u793a\u5bfe\u8c61\u306eImage\u3060\u3051\u3067\u306a\u304f\u3001\u914d\u4e0b\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u30fb\u5165\u529b\u30fb\u30b3\u30eb\u30fc\u30c1\u30f3\u7b49\u3082\u6b62\u307e\u308b\u6761\u4ef6\u304c\u3042\u308b\u305f\u3081\u3001\u898b\u305f\u76ee\u3060\u3051\u306e\u5909\u66f4\u3068\u533a\u5225\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n<h2 class=\"wp-block-heading\">\u65b9\u6cd52\uff1a\u4e00\u3064\u306e\u30dc\u30bf\u30f3\u3067Animator\u306e\u72b6\u614b\u3092\u4ea4\u4e92\u306b\u5207\u308a\u66ff\u3048\u308b<\/h2>\n\n\n<p class=\"wp-block-paragraph\">\u307e\u305a\u4e00\u679a\u306eImage\u3060\u3051\u3092\u96a0\u3059\u6700\u5c0f\u4f8b\u306b\u3057\u307e\u3059\u3002Canvas\u306e\u5b50\u306b\u5e38\u6642\u6709\u52b9\u306a<strong>DisplayRoot<\/strong>\u3092\u4f5c\u308a\u3001\u305d\u306e\u5b50\u306b<strong>TargetImage<\/strong>\u3001DisplayRoot\u306e\u5916\u306b<strong>SwitchButton<\/strong>\u3092\u914d\u7f6e\u3057\u307e\u3059\u3002Animator\u306fDisplayRoot\u3078\u8ffd\u52a0\u3057\u3001TargetImage\u306eImage\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306eEnabled\u3060\u3051\u3092\u8a18\u9332\u3057\u307e\u3059\u3002\u89aa\u3084Animator\u81ea\u8eab\u306e\u6709\u52b9\u72b6\u614b\u306f\u8a18\u9332\u3057\u307e\u305b\u3093\u3002<\/p>\n\n\n<h3 class=\"wp-block-heading\">OFF\/ON\u30af\u30ea\u30c3\u30d7\u306e\u8a18\u9332<\/h3>\n\n\n<ol class=\"wp-block-list\"><li>DisplayRoot\u3092\u9078\u629e\u3057\u3066Animation\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u958b\u304d\u3001Create\u3067<strong>DisplayOff.anim<\/strong>\u3092\u4fdd\u5b58\u3057\u307e\u3059\u3002\u4f5c\u3089\u308c\u305fAnimator Controller\u304cDisplayRoot\u306eAnimator\u3078\u5272\u308a\u5f53\u3066\u3089\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/li><li>DisplayOff\u306e0\u30d5\u30ec\u30fc\u30e0\u3067\u9332\u753b\u3092ON\u306b\u3057\u3001TargetImage\u306e<strong>Image\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u30c1\u30a7\u30c3\u30af<\/strong>\u3092OFF\u306b\u3057\u307e\u3059\u3002GameObject\u540d\u306e\u5de6\u5074\u306b\u3042\u308b\u30a2\u30af\u30c6\u30a3\u30d6\u30c1\u30a7\u30c3\u30af\u3068\u306f\u5225\u3067\u3059\u3002Add Property\u3067TargetImage\u306eImage\u306eEnabled\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5\u3067\u3082\u304b\u307e\u3044\u307e\u305b\u3093\u3002<\/li><li>1\u30d5\u30ec\u30fc\u30e0\u306b\u3082\u540c\u3058OFF\u5024\u306e\u30ad\u30fc\u3092\u7f6e\u304d\u3001\u9332\u753b\u3092\u89e3\u9664\u3057\u307e\u3059\u3002\u30af\u30ea\u30c3\u30d7\u3092Preview\u3057\u3066\u3001\u305d\u306eImage\u304c\u96a0\u308c\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/li><li>Animation\u306e\u30af\u30ea\u30c3\u30d7\u4e00\u89a7\u304b\u3089Create New Clip\u3067<strong>DisplayOn.anim<\/strong>\u3092\u4f5c\u308a\u307e\u3059\u3002\u540c\u3058Enabled\u30d7\u30ed\u30d1\u30c6\u30a3\u306b0\u30d5\u30ec\u30fc\u30e0\/1\u30d5\u30ec\u30fc\u30e0\u3068\u3082ON\u5024\u3092\u8a18\u9332\u3057\u3066\u3001\u9332\u753b\u3092\u89e3\u9664\u3057\u307e\u3059\u3002<\/li><li>\u4e21\u30af\u30ea\u30c3\u30d7\u3067\u8a18\u9332\u3057\u305f\u30d7\u30ed\u30d1\u30c6\u30a3\u304c\u540c\u3058Image\u306eEnabled\u3060\u3051\u3067\u3042\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002Transform\u3084\u89aa\u306e\u30a2\u30af\u30c6\u30a3\u30d6\u72b6\u614b\u3092\u8aa4\u3063\u3066\u8a18\u9332\u3057\u305f\u30ad\u30fc\u304c\u3042\u308c\u3070\u5916\u3057\u307e\u3059\u3002<\/li><\/ol>\n\n\n<p class=\"wp-block-paragraph\">Image.Enabled\u3092OFF\u306b\u3057\u3066\u3082\u3001\u5b50\u306e\u6587\u5b57\u3084\u5225\u306eImage\u307e\u3067\u4e00\u62ec\u3067\u96a0\u308c\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u30d1\u30cd\u30eb\u5168\u4f53\u3092\u96a0\u3059\u76ee\u7684\u3067\u306f\u65b9\u6cd51\u3001\u307e\u305f\u306f\u5e38\u6642\u6709\u52b9\u306a\u89aa\u304b\u3089\u5b50\u306e\u30a2\u30af\u30c6\u30a3\u30d6\u72b6\u614b\u3092\u5236\u5fa1\u3059\u308b\u5225\u69cb\u6210\u3092\u9078\u3073\u307e\u3059\u3002<\/p>\n\n\n<h3 class=\"wp-block-heading\">\u30b9\u30c6\u30fc\u30c8\u30fbTrigger\u30fb\u4e21\u65b9\u5411\u306e\u9077\u79fb<\/h3>\n\n\n<ol class=\"wp-block-list\"><li>Animator\u306b<strong>Off<\/strong>\u3068<strong>On<\/strong>\u306e2\u30b9\u30c6\u30fc\u30c8\u3092\u7528\u610f\u3057\u3001Motion\u3078\u5bfe\u5fdc\u3059\u308bDisplayOff\/DisplayOn\u3092\u5272\u308a\u5f53\u3066\u307e\u3059\u3002\u6700\u521d\u306e\u72b6\u614b\u3092Off\u306b\u3059\u308b\u306a\u3089Set as Layer Default State\u3067Off\u3092\u65e2\u5b9a\u306b\u3057\u307e\u3059\u3002<\/li><li>Parameters\u3078<strong>Trigger<\/strong>\u578b\u306e<strong>Switch<\/strong>\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u540d\u524d\u306f\u5927\u6587\u5b57\u5c0f\u6587\u5b57\u3082\u542b\u3081\u3066\u30dc\u30bf\u30f3\u5074\u3068\u4e00\u81f4\u3055\u305b\u307e\u3059\u3002<\/li><li>Off\u304b\u3089On\u3001On\u304b\u3089Off\u3078\u305d\u308c\u305e\u308cTransition\u3092\u63a5\u7d9a\u3057\u307e\u3059\u3002\u4e21\u65b9\u306eConditions\u306b<strong>Switch<\/strong>\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/li><li>\u4e21\u65b9\u306eTransition\u3067<strong>Has Exit Time\u3092OFF<\/strong>\u3001<strong>Transition Duration\u30920<\/strong>\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u6642\u9593\u5f85\u3061\u3084\u30d6\u30ec\u30f3\u30c9\u3092\u4f7f\u308f\u306a\u3044\u5207\u308a\u66ff\u3048\u4f8b\u3067\u3059\u3002<\/li><li>\u81ea\u52d5\u9077\u79fb\u3084Any State\u304b\u3089\u306e\u8ffd\u52a0\u9077\u79fb\u306f\u3053\u306e\u6700\u5c0f\u4f8b\u306b\u306f\u4f5c\u308a\u307e\u305b\u3093\u3002Controller\u3092\u78ba\u8a8d\u3057\u3001\u518d\u751f\u524d\u306b\u306fAnimation\u306e\u9332\u753b\u30fbPreview\u3092\u7d42\u4e86\u3057\u307e\u3059\u3002<\/li><\/ol>\n\n\n<p class=\"wp-block-paragraph\">Trigger\u306f\u9077\u79fb\u6761\u4ef6\u3092\u767a\u706b\u3055\u305b\u308b\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3067\u3059\u3002bool\u306eON\/OFF\u5024\u3092\u4fdd\u5b58\u3059\u308b\u3082\u306e\u3068\u306f\u5f79\u5272\u304c\u9055\u3044\u307e\u3059\u3002Has Exit Time\u304c\u6709\u52b9\u306a\u5834\u5408\u306f\u7d42\u4e86\u6642\u523b\u306e\u6761\u4ef6\u3082\u52a0\u308f\u308b\u305f\u3081\u3001\u30af\u30ea\u30c3\u30af\u5f8c\u306b\u5373\u6642\u306e\u5207\u308a\u66ff\u3048\u3092\u671f\u5f85\u3059\u308b\u4f8b\u3067\u306f\u5916\u3057\u307e\u3059\u3002<\/p>\n\n\n<h3 class=\"wp-block-heading\">Button\u304b\u3089Animator.SetTrigger\u3092\u547c\u3076<\/h3>\n\n\n<ol class=\"wp-block-list\"><li>SwitchButton\u306eOn Click()\u306b\u3001Animator\u306e\u3042\u308b<strong>DisplayRoot<\/strong>\u3092\u767b\u9332\u3057\u307e\u3059\u3002\u975e\u8868\u793a\u306b\u3059\u308bTargetImage\u305d\u306e\u3082\u306e\u3092\u767b\u9332\u3059\u308b\u8a2d\u5b9a\u3068\u306f\u533a\u5225\u3057\u307e\u3059\u3002<\/li><li>\u95a2\u6570\u306b<strong>Animator \u2192 SetTrigger(string)<\/strong>\u3092\u9078\u3073\u3001\u5f15\u6570\u3078<strong>Switch<\/strong>\u3092\u5165\u529b\u3057\u307e\u3059\u3002\u30af\u30ea\u30c3\u30d7\u540dDisplayOn\u3084\u30b9\u30c6\u30fc\u30c8\u540dOn\u3092\u5165\u529b\u3059\u308b\u6b04\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/li><li>\u518d\u751f\u3057\u3001\u521d\u671fOff\u2192\u30af\u30ea\u30c3\u30af\u5f8cOn\u2192\u518d\u30af\u30ea\u30c3\u30af\u5f8cOff\u3068\u3044\u3046\u9806\u3067Image\u306eEnabled\u3068Animator\u306e\u73fe\u5728\u30b9\u30c6\u30fc\u30c8\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/li><li>\u4e00\u56de\u306eOn Click()\u306b\u540c\u3058SetTrigger\u304c\u4e8c\u91cd\u767b\u9332\u3055\u308c\u3066\u3044\u306a\u3044\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u9ad8\u901f\u9023\u6253\u306e\u6319\u52d5\u306f\u5225\u6761\u4ef6\u3068\u3057\u3066\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li><\/ol>\n\n\n<h2 class=\"wp-block-heading\">\u52d5\u304b\u306a\u3044\u30fb\u623b\u305b\u306a\u3044\u5834\u5408\u306e\u78ba\u8a8d\u9806<\/h2>\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u76ee\u7684\u30fb\u75c7\u72b6<\/th><th>\u8a2d\u5b9a\u30fb\u78ba\u8a8d\u5148<\/th><\/tr><\/thead><tbody><tr><td>\u30dc\u30bf\u30f3\u304c\u53cd\u5fdc\u3057\u306a\u3044<\/td><td>Button\u306eInteractable\u3001Canvas\u306eGraphic Raycaster\u3001EventSystem\u3068\u5165\u529b\u30e2\u30b8\u30e5\u30fc\u30eb\u3001\u524d\u9762\u306eRaycast Target\u3092\u78ba\u8a8d<\/td><\/tr><tr><td>SetActive(true)\u3067\u3082\u51fa\u306a\u3044<\/td><td>\u89aa\u306eactiveInHierarchy\u3001\u5bfe\u8c61\u53c2\u7167\u3001Canvas\u3001Image\u306eEnabled\/Alpha\u3092\u78ba\u8a8d<\/td><\/tr><tr><td>\u9589\u3058\u308b\u3068\u518d\u8868\u793a\u3067\u304d\u306a\u3044<\/td><td>\u958b\u304f\u30dc\u30bf\u30f3\u3084\u5236\u5fa1\u3059\u308bAnimator\u304c\u975e\u8868\u793a\u5bfe\u8c61\u306e\u5b50\u306b\u306a\u3063\u3066\u3044\u306a\u3044\u304b\u78ba\u8a8d<\/td><\/tr><tr><td>Trigger\u304c\u898b\u3064\u304b\u3089\u306a\u3044<\/td><td>On Click()\u306eObject\u3001Controller\u3001Parameters\u306eSwitch\u3068\u578b\u3092\u78ba\u8a8d<\/td><\/tr><tr><td>\u30af\u30ea\u30c3\u30af\u5f8c\u306b\u5f85\u3064\u30fb\u52dd\u624b\u306b\u5207\u308a\u66ff\u308f\u308b<\/td><td>\u4e21Transition\u306eHas Exit Time\u3001Duration\u3001Conditions\u3001\u8ffd\u52a0\u9077\u79fb\u3092\u78ba\u8a8d<\/td><\/tr><tr><td>\u30b9\u30c6\u30fc\u30c8\u306f\u5909\u308f\u308b\u304c\u753b\u50cf\u306f\u540c\u3058<\/td><td>Motion\u3001\u5b50\u3078\u306e\u76f8\u5bfe\u30d1\u30b9\u3001\u4e21\u30af\u30ea\u30c3\u30d7\u306eEnabled\u306eON\/OFF\u30ad\u30fc\u3092\u78ba\u8a8d<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<p class=\"wp-block-paragraph\">\u5165\u529b\u306e\u524d\u63d0\u306f<a href=\"https:\/\/cg-method.com\/unity\/ugui-basic-function\/\">uGUI\u306e\u57fa\u672c\u8a2d\u5b9a<\/a>\u3001\u30b9\u30af\u30ed\u30fc\u30eb\u5185\u306e\u5165\u529b\u306f<a href=\"https:\/\/cg-method.com\/unity\/unity-ugui-make-scrollview\/\">ScrollView\u306e\u78ba\u8a8d\u9806<\/a>\u3067\u88dc\u8db3\u3057\u3066\u3044\u307e\u3059\u3002\u8272\u3084\u307c\u304b\u3057\u3068\u3044\u3063\u305f\u898b\u305f\u76ee\u306e\u5909\u66f4\u306f\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u975e\u30a2\u30af\u30c6\u30a3\u30d6\u306b\u3059\u308b\u64cd\u4f5c\u3068\u5206\u3051\u3066\u8003\u3048\u307e\u3059\u3002<\/p>\n\n\n<h2 class=\"wp-block-heading\">\u65e7\u7248\u8cc7\u6599\uff1aEffects\u3068SepiaTone\u306eON\/OFF<\/h2>\n\n\n<p class=\"wp-block-paragraph\">\u4ee5\u4e0b\u306f\u65e7\u8a18\u4e8b\u306b\u3042\u3063\u305fMain Camera\u306eSepiaTone\u3092\u5207\u308a\u66ff\u3048\u308b\u4f5c\u4f8b\u3067\u3059\u3002Assets \u2192 Import Package \u2192 Effects\u3068\u3044\u3046\u30e1\u30cb\u30e5\u30fc\u3068\u65e7\u30a4\u30e1\u30fc\u30b8\u30a8\u30d5\u30a7\u30af\u30c8\u3092\u524d\u63d0\u306b\u3057\u3066\u3044\u307e\u3059\u3002\u64ae\u5f71\u3057\u305f\u6b63\u78ba\u306aUnity\u7248\u306f\u672a\u78ba\u8a8d\u3067\u3001\u73fe\u5728\u306e\u65b0\u898f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u5c0e\u5165\u624b\u9806\u3068\u3057\u3066\u306f\u4f7f\u3044\u307e\u305b\u3093\u3002Unity6\/URP\u3067\u306f\u5bfe\u5fdc\u3059\u308b\u63cf\u753b\u65b9\u5f0f\u3068\u30dd\u30b9\u30c8\u30d7\u30ed\u30bb\u30b9\u3092\u5225\u306b\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n\n\n<h3 class=\"wp-block-heading\">\u65e7\u30ab\u30e1\u30e9\u3068\u30af\u30ea\u30c3\u30d7\u306e\u6e96\u5099<\/h3>\n\n\n<p class=\"wp-block-paragraph\">\u65e7\u74b0\u5883\u3067\u306fMain Camera\u3078SepiaTone\u3092\u8ffd\u52a0\u3057\u3001Animation_off\u3068Animation_on\u3092\u4f5c\u6210\u3057\u3066\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u30c1\u30a7\u30c3\u30af\u3092\u8a18\u9332\u3057\u307e\u3057\u305f\u3002\u65b0\u3057\u3044UI\u306e\u4f8b\u3068\u753b\u50cf\u306e\u5bfe\u8c61\u30fb\u540d\u524d\u304c\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"437\" height=\"421\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2026\/01\/20161202075849.jpg\" alt=\"\u30e1\u30a4\u30f3\u30ab\u30e1\u30e9\u306b\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u30a2\u30bf\u30c3\u30c1\u3057\u3001\u30b7\u30fc\u30f3\u306b\u914d\u7f6e\u3057\u305f\u78ba\u8a8d\u7528\u30ad\u30e5\u30fc\u30d6\u306e\u8868\u793a\u304c\u30b2\u30fc\u30e0\u518d\u751f\u6642\u306b\u30bb\u30d4\u30a2\u8272\u3078\u5909\u5316\u3059\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u753b\u9762\u3002\" class=\"wp-image-281\" srcset=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2026\/01\/20161202075849.jpg 437w, https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2026\/01\/20161202075849-300x289.jpg 300w\" sizes=\"auto, (max-width: 437px) 100vw, 437px\" \/><\/figure>\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"480\" height=\"306\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2026\/01\/20161202080024.jpg\" alt=\"\" class=\"wp-image-282\" srcset=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2026\/01\/20161202080024.jpg 480w, https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2026\/01\/20161202080024-300x191.jpg 300w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/figure>\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"579\" height=\"329\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2026\/01\/20161202081543.jpg\" alt=\"\u30dc\u30bf\u30f3\u3067\u8868\u793a\u72b6\u614b\u3092\u5207\u308a\u66ff\u3048\u308b\u305f\u3081\u306e\u3001OFF\u72b6\u614b\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u4f5c\u6210\u624b\u9806\u3002\" class=\"wp-image-283\" srcset=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2026\/01\/20161202081543.jpg 579w, https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2026\/01\/20161202081543-300x170.jpg 300w\" sizes=\"auto, (max-width: 579px) 100vw, 579px\" \/><\/figure>\n\n\n<h3 class=\"wp-block-heading\">\u65e7\u30b9\u30c6\u30fc\u30c8\u3068\u9077\u79fb<\/h3>\n\n\n<p class=\"wp-block-paragraph\">\u65e7\u4f5c\u4f8b\u306e\u30b9\u30c6\u30fc\u30c8\u306fanimation_off\/animation_on\u3001Trigger\u540d\u306ftest\u3067\u3059\u30022\u30b9\u30c6\u30fc\u30c8\u3078\u5404Motion\u3092\u5272\u308a\u5f53\u3066\u3001\u4e21\u65b9\u5411\u306e\u9077\u79fb\u306eConditions\u3078test\u3092\u767b\u9332\u3059\u308b\u69cb\u6210\u3092\u6b8b\u3057\u307e\u3059\u3002\u6642\u9593\u5f85\u3061\u3084\u9077\u79fb\u6642\u9593\u306e\u8a2d\u5b9a\u306f\u524d\u306e\u7bc0\u3067\u8aac\u660e\u3057\u305f\u6761\u4ef6\u3068\u7167\u5408\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"466\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2026\/01\/20161202080811.jpg\" alt=\"\u30c7\u30d5\u30a9\u30eb\u30c8\u30b9\u30c6\u30fc\u30c8\u3092\u30ea\u30cd\u30fc\u30e0\u3057\u3066\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u30d5\u30a1\u30a4\u30eb\u3092\u5272\u308a\u5f53\u3066\u3001\u65b0\u898f\u30b9\u30c6\u30fc\u30c8\u306b\u3082\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u30d5\u30a1\u30a4\u30eb\u3092\u5272\u308a\u5f53\u3066\u305f\u72b6\u614b\u3002\" class=\"wp-image-284\" srcset=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2026\/01\/20161202080811.jpg 1024w, https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2026\/01\/20161202080811-300x137.jpg 300w, https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2026\/01\/20161202080811-768x350.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"853\" height=\"492\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2026\/01\/20161202080912.jpg\" alt=\"\u30b9\u30c6\u30fc\u30c8\u9593\u3092\u30c8\u30e9\u30f3\u30b8\u30b7\u30e7\u30f3\u306e\u77e2\u5370\u3067\u63a5\u7d9a\u3057\u3001\u30a4\u30f3\u30b9\u30da\u30af\u30bf\u30fc\u306e\u6761\u4ef6\u6b04\u306b\u30c6\u30b9\u30c8\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8ffd\u52a0\u3057\u305f\u72b6\u614b\u3002\" class=\"wp-image-285\" srcset=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2026\/01\/20161202080912.jpg 853w, https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2026\/01\/20161202080912-300x173.jpg 300w, https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2026\/01\/20161202080912-768x443.jpg 768w\" sizes=\"auto, (max-width: 853px) 100vw, 853px\" \/><\/figure>\n\n\n<h3 class=\"wp-block-heading\">\u65e7\u30af\u30ea\u30c3\u30d7\u30fb\u30dc\u30bf\u30f3\u30fb\u7d50\u679c\u306e\u753b\u50cf<\/h3>\n\n\n<p class=\"wp-block-paragraph\">\u65e7\u753b\u50cf\u306fSepiaTone\u306eOFF\/ON\u30ad\u30fc\u3001Main Camera\u306eAnimator.SetTrigger(string)\u3078test\u3092\u6e21\u3059On Click()\u3001\u65e7\u4f5c\u4f8b\u306e\u8868\u793a\u3092\u793a\u3057\u307e\u3059\u3002\u73fe\u5728\u306eDisplayRoot\/TargetImage\u306e\u624b\u9806\u3092\u5b9f\u884c\u3057\u305f\u8a3c\u62e0\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"576\" height=\"296\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2026\/01\/20161202083336.jpg\" alt=\"\u5404\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u30af\u30ea\u30c3\u30d7\u3067\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u30aa\u30f3\u3068\u30aa\u30d5\u3092\u5207\u308a\u66ff\u3048\u3066\u30ad\u30fc\u30d5\u30ec\u30fc\u30e0\u3092\u8a18\u9332\u3057\u3001\u9332\u753b\u3092\u7d42\u4e86\u3057\u305f\u72b6\u614b\u3002\" class=\"wp-image-286\" srcset=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2026\/01\/20161202083336.jpg 576w, https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2026\/01\/20161202083336-300x154.jpg 300w\" sizes=\"auto, (max-width: 576px) 100vw, 576px\" \/><\/figure>\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"480\" height=\"491\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2026\/01\/20161202080506.jpg\" alt=\"\u30dc\u30bf\u30f3\u306e\u30af\u30ea\u30c3\u30af\u6642\u30a4\u30d9\u30f3\u30c8\u306b\u30e1\u30a4\u30f3\u30ab\u30e1\u30e9\u3092\u767b\u9332\u3057\u3001\u95a2\u6570\u306e\u5f15\u6570\u306b\u30c6\u30b9\u30c8\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u5165\u529b\u3057\u305f\u8a2d\u5b9a\u753b\u9762\u3002\" class=\"wp-image-287\" srcset=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2026\/01\/20161202080506.jpg 480w, https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2026\/01\/20161202080506-293x300.jpg 293w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/figure>\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"285\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2026\/01\/20161202082131.jpg\" alt=\"\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3053\u3068\u3067\u30a8\u30d5\u30a7\u30af\u30c8\u306e\u6709\u52b9\u3068\u7121\u52b9\u304c\u5207\u308a\u66ff\u308f\u308a\u3001\u753b\u9762\u306e\u8868\u793a\u72b6\u614b\u304c\u5909\u5316\u3059\u308b\u52d5\u4f5c\u78ba\u8a8d\u306e\u69d8\u5b50\u3002\" class=\"wp-image-288\" srcset=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2026\/01\/20161202082131.jpg 1024w, https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2026\/01\/20161202082131-300x83.jpg 300w, https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2026\/01\/20161202082131-768x214.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n<p class=\"wp-block-paragraph\">\u65e7\u8a18\u4e8b\u672b\u5c3e\u306e\u300c\u5225\u30ab\u30e1\u30e9\u306b\u30ec\u30a4\u30e4\u30fc\u3092\u5206\u3051\u308c\u3070\u7279\u5b9a\u7269\u3060\u3051\u9664\u5916\u3067\u304d\u308b\u300d\u3068\u3044\u3046\u8aac\u660e\u306f\u3001\u63cf\u753b\u9806\u30fb\u80cc\u666f\u6d88\u53bb\u30fb\u4f7f\u7528Render Pipeline\u3092\u6307\u5b9a\u305b\u305a\u4e00\u822c\u5316\u3067\u304d\u307e\u305b\u3093\u3002\u3053\u3053\u3067\u306f\u518d\u73fe\u6e08\u307f\u306e\u5fdc\u7528\u624b\u9806\u3068\u3057\u3066\u63b2\u8f09\u305b\u305a\u3001\u65e7\u53c2\u8003\u5148<a href=\"https:\/\/tsubakit1.hateblo.jp\/entry\/2015\/11\/25\/000000\">2015\u5e74\u306e\u30a4\u30e1\u30fc\u30b8\u30a8\u30d5\u30a7\u30af\u30c8\u89e3\u8aac<\/a>\u306e\u5bfe\u8c61\u7248\u3068\u6761\u4ef6\u3092\u78ba\u8a8d\u3059\u308b\u8cc7\u6599\u3068\u3057\u3066\u6b8b\u3057\u307e\u3059\u3002<\/p>\n\n\n<h2 class=\"wp-block-heading\">\u516c\u5f0f\u8cc7\u6599\u3068\u95a2\u9023\u8a18\u4e8b<\/h2>\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/docs.unity3d.com\/6000.3\/Documentation\/ScriptReference\/GameObject.SetActive.html\">GameObject.SetActive<\/a>\u3001<a href=\"https:\/\/docs.unity3d.com\/6000.3\/Documentation\/ScriptReference\/Animator.SetTrigger.html\">Animator.SetTrigger<\/a>\u3001<a href=\"https:\/\/docs.unity3d.com\/6000.3\/Documentation\/Manual\/class-Transition.html\">Animation transitions<\/a>\u3001<a href=\"https:\/\/docs.unity3d.com\/6000.3\/Documentation\/Manual\/animeditor-AnimatingAGameObject.html\">Animation\u3067\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u8a18\u9332<\/a>\u30922026\u5e7410\u67083\u65e5\u306b\u53c2\u7167\u3057\u307e\u3057\u305f\u3002\u65b0\u3057\u3044UI\u3068\u65e7SepiaTone\u306eUnity\u518d\u751f\u306f\u672a\u691c\u8a3c\u3067\u3059\u3002<\/p>\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2026\/09\/unity-matome-3-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/cg-method.com\/unity\/unity-matome\/\">Unity\u306e\u4f7f\u3044\u65b9\u30ac\u30a4\u30c9\uff5c\u74b0\u5883\u69cb\u7bc9\u30fbUI\u30fb2D\u30fb\u30a2\u30bb\u30c3\u30c8\u6d3b\u7528<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">Unity\u306e\u74b0\u5883\u69cb\u7bc9\u3001UI\u5236\u4f5c\u30012D\u7d20\u6750\u306e\u7d44\u307f\u8fbc\u307f\u3001\u30a2\u30bb\u30c3\u30c8\u5c0e\u5165\u3001Prefab\u7ba1\u7406\u3092\u76ee\u7684\u5225\u306b\u6848\u5185\u3002\u66f8\u7c4d\u30fb\u30aa\u30f3\u30e9\u30a4\u30f3\u6559\u6750\u306e\u9078\u3073\u65b9\u3068\u3001\u5236\u4f5c\u4e2d\u306b\u3064\u307e\u305a\u3044\u305f\u3068\u304d\u306e\u89e3\u8aac\u8a18\u4e8b\u3092\u63a2\u305b\u307e\u3059\u3002<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n<!-- cgm-topic:start -->\n\n\n<p class=\"wp-block-paragraph\">uGUI\u3067\u306eUI\u5236\u4f5c\u306f\u3001\u307b\u304b\u306b\u3082\u66f8\u3044\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2017\/08\/ugui-basic-function-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/cg-method.com\/unity\/ugui-basic-function\/\">Unity uGUI\u306e\u57fa\u672c\u8a2d\u5b9a7\u9805\u76ee\uff5c\u6587\u5b57\u30fb\u914d\u7f6e\u30fb\u753b\u50cf\u30fb\u63cf\u753b\u8ca0\u8377<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">uGUI\u306e\u6587\u5b57\u306e\u307c\u3084\u3051\u3001\u30a2\u30f3\u30ab\u30fc\u3001Tiled\u3001Canvas Scaler\u3001\u5ea7\u6a19\u3001\u63cf\u753b\u8ca0\u8377\u306e\u78ba\u8a8d\u9806\u3092\u89e3\u8aac\u3002\u65e7\u753b\u9762\u3068\u73fe\u5728\u306e\u516c\u5f0f\u4ed5\u69d8\u3092\u5206\u3051\u3066\u6574\u7406\u3057\u307e\u3059\u3002<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2017\/12\/unity-ugui-psd-convert-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/cg-method.com\/unity\/unity-ugui-psd-convert\/\">Unity\u3067PSD\u3092uGUI\u3078\u5909\u63db\u3059\u308bBaum2\u306e\u4f7f\u3044\u65b9\u3010\u65e7\u7248\u4fdd\u5b88\u3011<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">Baum2\u306e\u65e7\u5bfe\u5fdc\u7248\u3001PSD\u306e\u547d\u540d\u3001Area\u3001\u30d5\u30a9\u30f3\u30c8\u3001Prefab\u751f\u6210\u3068\u30a8\u30e9\u30fc\u306e\u78ba\u8a8d\u9806\u3092\u89e3\u8aac\u3002Unity 6\u3067\u306e\u52d5\u4f5c\u306f\u672a\u691c\u8a3c\u3067\u3059\u3002<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2018\/08\/unity-ui-shader-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/cg-method.com\/unity\/unity-ui-shader\/\">Unity\u306eUI\u30b7\u30a7\u30fc\u30c0\u30fc6\u4f8b\uff5c\u753b\u50cf\u52b9\u679c\u30fb\u307c\u304b\u3057\u3068Mask\u306e\u78ba\u8a8d<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">Unity\u306eUI\u753b\u50cf\u306b\u4f7f\u3046\u660e\u308b\u3055\u30fb\u767d\u9ed2\u30fb\u5358\u8272\u30fb\u8272\u76f8\u30fb\u6a21\u69d8\u30fb\u307c\u304b\u3057\u306e\u65e7\u4f8b\u3092\u6574\u7406\u3002\u6a19\u6e96\u6a5f\u80fd\u3068\u306e\u4f7f\u3044\u5206\u3051\u3001Material\u8a2d\u5b9a\u3001Mask\u3068RectMask2D\u3001\u80cc\u666f\u307c\u304b\u3057\u3068\u306e\u9055\u3044\u3001\u5bfe\u5fdc\u7248\u306e\u78ba\u8a8d\u70b9\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2018\/08\/unity-ugui-font-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/cg-method.com\/unity\/unity-ugui-font\/\">Unity uGUI\u306e\u30d5\u30a9\u30f3\u30c8\u8a2d\u5b9a\uff5c\u65e7Text\u30fbTextMeshPro\u30fb\u30a2\u30a4\u30b3\u30f3\u306e\u4f7f\u3044\u5206\u3051<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">uGUI\u306e\u65e7Text\u3068TextMeshPro\u306e\u9055\u3044\u3001\u30ea\u30c3\u30c1\u30c6\u30ad\u30b9\u30c8\u3001Font Asset\u3001ShoeBox\u306e\u65e7\u624b\u9806\u3001TTC\u3001Font Awesome\u306e\u8a2d\u5b9a\u3068\u6587\u5b57\u6b20\u3051\u306e\u78ba\u8a8d\u3092\u89e3\u8aac\u3002<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n<!-- cgm-topic:end -->\n","protected":false},"excerpt":{"rendered":"<p>\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u305b\u305aButton\u306eOn Click()\u3067UI\u3092\u958b\u304f\u30fb\u9589\u3058\u308b\u8a2d\u5b9a\u3068\u3001Animator\u306eTrigger\u3067\u4ea4\u4e92\u306b\u5207\u308a\u66ff\u3048\u308b\u69cb\u6210\u3092\u89e3\u8aac\u3002\u65e7SepiaTone\u4f5c\u4f8b\u3068\u5fa9\u5e30\u3067\u304d\u306a\u3044\u539f\u56e0\u3082\u6574\u7406\u3002<\/p>\n","protected":false},"author":1,"featured_media":21707,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","book_review_data":"","footnotes":"","ssp_meta_title":"Unity\u3067\u30dc\u30bf\u30f3\u304b\u3089UI\u8868\u793a\u3092\u5207\u308a\u66ff\u3048\u308b\u65b9\u6cd5\uff5cSetActive\u3068Animator","ssp_meta_description":"\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u305b\u305aButton\u306eOn Click()\u3067UI\u3092\u958b\u304f\u30fb\u9589\u3058\u308b\u8a2d\u5b9a\u3068\u3001Animator\u306eTrigger\u3067\u4ea4\u4e92\u306b\u5207\u308a\u66ff\u3048\u308b\u69cb\u6210\u3092\u89e3\u8aac\u3002\u65e7SepiaTone\u4f5c\u4f8b\u3068\u5fa9\u5e30\u3067\u304d\u306a\u3044\u539f\u56e0\u3082\u6574\u7406\u3002"},"categories":[20],"tags":[],"class_list":["post-280","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ui"],"_links":{"self":[{"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/posts\/280","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/comments?post=280"}],"version-history":[{"count":9,"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/posts\/280\/revisions"}],"predecessor-version":[{"id":22256,"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/posts\/280\/revisions\/22256"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/media\/21707"}],"wp:attachment":[{"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/media?parent=280"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/categories?post=280"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/tags?post=280"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}