{"id":17293,"date":"2018-08-27T16:03:27","date_gmt":"2018-08-27T07:03:27","guid":{"rendered":"https:\/\/cg-method.com\/?p=17293"},"modified":"2026-10-03T22:18:57","modified_gmt":"2026-10-03T13:18:57","slug":"unity-effect-particle","status":"publish","type":"post","link":"https:\/\/cg-method.com\/unity\/unity-effect-particle\/","title":{"rendered":"Unity\u30d1\u30fc\u30c6\u30a3\u30af\u30eb\u306e\u4f7f\u3044\u65b9\uff1aUI\u91cd\u306d\u30fb\u6587\u5b57\u30fb\u30b5\u30a4\u30ba\u30fb\u885d\u7a81\u306e\u8a2d\u5b9a"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Unity\u306eParticle System\u3092\u3001UI\u306b\u91cd\u306d\u308b\u3001\u753b\u9762\u5185\u306e\u30b5\u30a4\u30ba\u3092\u8abf\u6574\u3059\u308b\u3001\u6587\u5b57Texture\u3092\u4f7f\u3046\u3001Camera\u306e\u80cc\u666f\u3092\u5207\u308a\u5206\u3051\u308b\u3001\u30d1\u30b9\u3078\u6cbf\u308f\u305b\u308b\u3001\u885d\u7a81\u3067\u5225\u306e\u30a8\u30d5\u30a7\u30af\u30c8\u3092\u51fa\u3059\u7528\u9014\u306b\u5206\u3051\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<strong>\u307e\u305a1\u7c92\u30fb1Camera\u30fb1Material\u3067\u52d5\u4f5c\u3092\u78ba\u8a8d\u3057\u3001\u7528\u9014\u3054\u3068\u306b\u5fc5\u8981\u306a\u8a2d\u5b9a\u3092\u8ffd\u52a0<\/strong>\u3057\u307e\u3059\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u53c2\u7167\u4ed5\u69d8\u306fUnity 6.3 LTS\u3067\u3059\u3002\u5143\u8a18\u4e8b\u306e\u753b\u50cf\u3068GIF\u306f\u65e7\u74b0\u5883\u306e\u8cc7\u6599\u3067\u3059\u3002\u4eca\u56deUnity\u3067\u5b9f\u884c\u3057\u305f\u691c\u8a3c\u753b\u50cf\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002RenderTexture\u306e\u900f\u904e\u3084\u5916\u90e8\u30d1\u30b9\u7528\u30b3\u30fc\u30c9\u306f\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u30fb\u4f9d\u5b58\u30d5\u30a1\u30a4\u30eb\u3092\u78ba\u8a8d\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u3001\u63b2\u8f09C#\u306e\u4fee\u6b63\u7248\u3082Unity\u3067\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u30fb\u52d5\u4f5c\u78ba\u8a8d\u306f\u672a\u5b9f\u65bd\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\n<h2 class=\"wp-block-heading\">UI\u306e\u524d\u306bParticle\u3092\u8868\u793a\u3059\u308b\uff1aRenderTexture\u3068RawImage<\/h2>\n\n\n<p class=\"wp-block-paragraph\">Screen Space &#8211; Overlay\u306eCanvas\u4e0a\u3078Particle System\u3092\u8868\u793a\u3059\u308b\u65b9\u6cd5\u306e\u4e00\u3064\u306f\u3001\u5c02\u7528Camera\u306e\u6620\u50cf\u3092RenderTexture\u3078\u63cf\u304d\u3001RawImage\u3068\u3057\u3066\u8868\u793a\u3059\u308b\u69cb\u6210\u3067\u3059\u3002\u65e7GIF\u306f\u3053\u306e\u65b9\u5f0f\u306e\u8cc7\u6599\u3067\u3001\u73fe\u5728\u306e\u3059\u3079\u3066\u306e\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3067\u900f\u904e\u304c\u4fdd\u305f\u308c\u308b\u3053\u3068\u3092\u793a\u3057\u305f\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n<figure class=\"wp-block-image size-full is-style-border\"><img loading=\"lazy\" decoding=\"async\" width=\"570\" height=\"326\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2017\/07\/20170715233528.gif\" alt=\"uGUI\u306e\u524d\u306b\u30d1\u30fc\u30c6\u30a3\u30af\u30eb\u3092\u8868\u793a\" class=\"wp-image-9402\"\/><\/figure>\n\n\n<ol class=\"wp-block-list\"><li>Particle\u5c02\u7528Layer\u3092\u7528\u610f\u3057\u3001Particle System\u3092\u305d\u306eLayer\u3078\u79fb\u3057\u307e\u3059\u3002\u5c02\u7528Camera\u306eCulling Mask\u3092\u305d\u306eLayer\u3060\u3051\u306b\u3057\u3001\u901a\u5e38\u306eMain Camera\u304b\u3089\u306f\u5916\u3057\u3066\u4e8c\u91cd\u63cf\u753b\u3092\u907f\u3051\u307e\u3059\u3002<\/li><li>Alpha\u3092\u6301\u3064\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306eRenderTexture\u3092\u4f5c\u308a\u3001\u5c02\u7528Camera\u306eTarget Texture\u3078\u5272\u308a\u5f53\u3066\u307e\u3059\u3002\u6700\u521d\u306fBuilt-in\u306e\u5c0f\u3055\u306a\u691c\u8a3c\u30b7\u30fc\u30f3\u306a\u3069\u3001\u900f\u660e\u80cc\u666f\u306e\u51fa\u529b\u6761\u4ef6\u3092\u628a\u63e1\u3067\u304d\u308b\u69cb\u6210\u3067\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/li><li>Overlay Canvas\u306bRawImage\u3092\u8ffd\u52a0\u3057\u3001Texture\u3078\u305d\u306eRenderTexture\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u80cc\u666f\u3088\u308a\u5f8c\u3001\u524d\u9762\u306b\u6b8b\u3059\u6587\u5b57\u3088\u308a\u524d\u3068\u306a\u308b\u3088\u3046Hierarchy\u5185\u306e\u63cf\u753b\u9806\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/li><li>\u88c5\u98fe\u3060\u3051\u306eRawImage\u306a\u3089Raycast Target\u3092\u30aa\u30d5\u306b\u3057\u3001Button\u64cd\u4f5c\u3092\u59a8\u3052\u306a\u3044\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u7e26\u6a2a\u6bd4\u3084\u4f38\u3073\u306f<a href=\"https:\/\/cg-method.com\/unity\/unity-ugui-aspect-ratio-fitter\/\">Aspect Ratio Fitter\u306e\u8a18\u4e8b<\/a>\u3082\u53c2\u7167\u3057\u307e\u3059\u3002<\/li><\/ol>\n\n\n<figure class=\"wp-block-image size-full is-style-border\"><img loading=\"lazy\" decoding=\"async\" width=\"537\" height=\"516\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2017\/07\/20170715234206.png\" alt=\"RawImage\u306e\u8a2d\u5b9a\" class=\"wp-image-9403\" srcset=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2017\/07\/20170715234206.png 537w, https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2017\/07\/20170715234206-300x288.png 300w\" sizes=\"auto, (max-width: 537px) 100vw, 537px\" \/><\/figure>\n\n\n<p class=\"wp-block-paragraph\">\u5c02\u7528Camera\u306f\u80cc\u666f\u3092\u6bce\u30d5\u30ec\u30fc\u30e0\u6d88\u3059\u8a2d\u5b9a\u3067\u78ba\u8a8d\u3057\u307e\u3059\u3002\u65e7Built-in\u306eSolid Color\u3067\u306f\u80cc\u666f\u8272\u306eAlpha\u30920\u306b\u3059\u308b\u4f8b\u304c\u3042\u308a\u307e\u3059\u304c\u3001RenderTexture\u3001Shader\u306e\u51fa\u529bAlpha\u3001\u30dd\u30b9\u30c8\u30d7\u30ed\u30bb\u30b9\u3082\u95a2\u4fc2\u3057\u307e\u3059\u3002URP\u306eCamera\u8a2d\u5b9a\u306f<a href=\"https:\/\/docs.unity3d.com\/6000.3\/Documentation\/Manual\/urp\/camera-component-reference.html\">\u516c\u5f0f\u306eCamera\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u8cc7\u6599<\/a>\u3092\u78ba\u8a8d\u3057\u3001\u65e7Clear Flags\u306e\u6b04\u540d\u3092\u305d\u306e\u307e\u307e\u5f53\u3066\u306f\u3081\u307e\u305b\u3093\u3002<\/p>\n\n\n<figure class=\"wp-block-image size-full is-style-border\"><img loading=\"lazy\" decoding=\"async\" width=\"537\" height=\"594\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2017\/07\/20170715234307.png\" alt=\"\u30ab\u30e1\u30e9\u306e\u8a2d\u5b9a\" class=\"wp-image-9404\" srcset=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2017\/07\/20170715234307.png 537w, https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2017\/07\/20170715234307-271x300.png 271w\" sizes=\"auto, (max-width: 537px) 100vw, 537px\" \/><\/figure>\n\n\n<p class=\"wp-block-paragraph\">\u671f\u5f85\u3059\u308b\u7d50\u679c\u306f\u3001Particle\u6620\u50cf\u304c\u6307\u5b9a\u3057\u305fUI\u306e\u4f4d\u7f6e\u3078\u91cd\u306a\u308a\u3001\u80cc\u666fUI\u3068Button\u64cd\u4f5c\u304c\u4fdd\u305f\u308c\u308b\u3053\u3068\u3067\u3059\u3002\u968e\u5c64\u56f3\u306f\u65e7\u8cc7\u6599\u3067\u3059\u3002\u5c02\u7528Camera\u306bRawImage\u81ea\u8eab\u3084\u5225\u306e\u4e0d\u8981\u306aCanvas\u3092\u6620\u3059\u5faa\u74b0\u69cb\u6210\u306b\u3057\u306a\u3044\u3088\u3046\u3001Layer\u3068Canvas\u306e\u63cf\u753b\u65b9\u5f0f\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n\n\n<figure class=\"wp-block-image size-full is-style-border\"><img loading=\"lazy\" decoding=\"async\" width=\"216\" height=\"185\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2017\/07\/20170718221138.png\" alt=\"\u968e\u5c64\u69cb\u9020\" class=\"wp-image-9406\"\/><\/figure>\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u9805\u76ee\u30fb\u75c7\u72b6<\/th><th>\u8a2d\u5b9a\u30fb\u78ba\u8a8d\u5148<\/th><\/tr><\/thead><tbody><tr><td>RawImage\u304c\u9ed2\u3044\u56db\u89d2\u306b\u306a\u308b<\/td><td>Camera\u306e\u80cc\u666f\u3001RenderTexture\u306eAlpha\u3001Particle Material\u3001\u5f8c\u51e6\u7406\u3092\u9806\u306b\u78ba\u8a8d\u3002\u80cc\u666f\u8272Alpha 0\u3060\u3051\u3067\u900f\u904e\u3092\u4fdd\u8a3c\u3057\u306a\u3044\u3002<\/td><\/tr><tr><td>\u52a0\u7b97Particle\u304c\u898b\u3048\u306a\u3044<\/td><td>RGB\u306f\u3042\u308b\u304cAlpha\u304c0\u306e\u51fa\u529b\u3067\u306f\u901a\u5e38\u306eUI\u30d6\u30ec\u30f3\u30c9\u3067\u6d88\u3048\u308b\u5834\u5408\u304c\u3042\u308b\u3002Particle Shader\u3068UI\u5074\u306e\u5408\u6210\u65b9\u6cd5\u3092\u78ba\u8a8d\u3002<\/td><\/tr><tr><td>Particle\u304c\u4e8c\u91cd\u306b\u898b\u3048\u308b<\/td><td>Main Camera\u3068\u5c02\u7528Camera\u306eCulling Mask\u3001\u5bfe\u8c61Layer\u3001RawImage\u3092\u78ba\u8a8d\u3002<\/td><\/tr><tr><td>Button\u3092\u62bc\u305b\u306a\u3044<\/td><td>RawImage\u306eRaycast Target\u3001\u91cd\u306a\u308bGraphic\u3001EventSystem\u3092\u78ba\u8a8d\u3002<\/td><\/tr><tr><td>\u7e26\u6a2a\u306b\u4f38\u3073\u308b<\/td><td>RenderTexture\u306e\u5bf8\u6cd5\u3068RawImage\u306e\u7e26\u6a2a\u6bd4\u3092\u78ba\u8a8d\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<h2 class=\"wp-block-heading\">Particle\u304c\u5927\u304d\u304f\u306a\u3089\u306a\u3044\uff1aMax Particle Size\u3092\u78ba\u8a8d\u3059\u308b<\/h2>\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/docs.unity3d.com\/6000.3\/Documentation\/Manual\/PartSysRendererModule.html\">Renderer\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u516c\u5f0f\u8aac\u660e<\/a>\u3067\u3001Max Particle Size\u306f\u5bfe\u8c61\u306eBillboard\u7cfbRender Mode\u306b\u5bfe\u3059\u308b\u753b\u9762\u5185\u306e\u5236\u9650\u3067\u3059\u3002Start Size\u306e\u30ef\u30fc\u30eb\u30c9\u5bf8\u6cd5\u3068\u306f\u7570\u306a\u308a\u3001Mesh\u30e2\u30fc\u30c9\u306b\u3082\u540c\u3058\u5236\u9650\u304c\u3042\u308b\u3068\u6c7a\u3081\u3064\u3051\u307e\u305b\u3093\u3002<\/p>\n\n\n<figure class=\"wp-block-image size-full is-style-border\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"607\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2016\/02\/20160215120509-768x607.png\" alt=\"Max Particle Size\u306e\u30c6\u30b9\u30c81\" class=\"wp-image-10287\" srcset=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2016\/02\/20160215120509-768x607.png 768w, https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2016\/02\/20160215120509-300x237.png 300w, https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2016\/02\/20160215120509.png 800w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n<ol class=\"wp-block-list\"><li>Renderer\u306eRender Mode\u3092\u78ba\u8a8d\u3057\u3001Start Size\u3001Transform\u306eScale\u3001Camera\u306eProjection\u3068\u8ddd\u96e2\u3092\u8a18\u9332\u3057\u307e\u3059\u3002<\/li><li>Billboard\u3001Stretched Billboard\u3001Horizontal Billboard\u3001Vertical Billboard\u3067\u306fMax Particle Size\u306e\u5024\u3092\u78ba\u8a8d\u3057\u3001\u5236\u9650\u304c\u539f\u56e0\u304b\u6bd4\u8f03\u3057\u307e\u3059\u3002<\/li><li>\u5fc5\u8981\u306a\u7bc4\u56f2\u307e\u3067\u8868\u793a\u3067\u304d\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304b\u3089\u3001Start Size\u3068Camera\u306e\u6761\u4ef6\u3092\u8abf\u6574\u3057\u307e\u3059\u3002\u753b\u9762\u3092\u5927\u304d\u304f\u8986\u3046\u900f\u660eParticle\u306e\u8ca0\u8377\u306f\u5225\u306b\u6e2c\u5b9a\u3057\u307e\u3059\u3002<\/li><\/ol>\n\n\n<figure class=\"wp-block-image size-full is-style-border\"><img loading=\"lazy\" decoding=\"async\" width=\"408\" height=\"374\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2016\/02\/20160215223110.png\" alt=\"Max Particle Size\u306e\u30c6\u30b9\u30c82\" class=\"wp-image-10288\" srcset=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2016\/02\/20160215223110.png 408w, https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2016\/02\/20160215223110-300x275.png 300w\" sizes=\"auto, (max-width: 408px) 100vw, 408px\" \/><\/figure>\n\n\n<p class=\"wp-block-paragraph\">\u5143\u8cc7\u6599\u306b\u3042\u308bStart Size 100\u3068Plane Scale 10\u3001Orthographic Size 15\u3068Start Size 25\u306a\u3069\u306f\u5f53\u6642\u306e\u6bd4\u8f03\u6761\u4ef6\u3067\u3059\u3002\u6295\u5f71\u3001Mesh\u306e\u5bf8\u6cd5\u3001Scale\u3001Render Mode\u304c\u5909\u308f\u308c\u3070\u610f\u5473\u3082\u5909\u308f\u308b\u305f\u3081\u3001\u666e\u904d\u7684\u306a\u63db\u7b97\u5f0f\u3068\u3057\u3066\u4f7f\u3044\u307e\u305b\u3093\u3002\u4eca\u56de\u305d\u306e\u65e7\u6761\u4ef6\u3092\u518d\u73fe\u3057\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n\n\n<h2 class=\"wp-block-heading\">\u6587\u5b57\u3092Particle\u306eTexture\u3068\u3057\u3066\u8868\u793a\u3059\u308b<\/h2>\n\n\n<p class=\"wp-block-paragraph\">\u6587\u5b57\u7528Canvas\u3092\u5c02\u7528Camera\u3067RenderTexture\u3078\u63cf\u304d\u3001\u305d\u306eTexture\u3092Particle Material\u3078\u6e21\u3059\u65b9\u5f0f\u3067\u3059\u3002\u65e7\u753b\u50cf\u306f\u6587\u5b57\u304cTexture\u306b\u306a\u3063\u305f\u8cc7\u6599\u3067\u3001\u5b9f\u884c\u6642\u306b\u5404Particle\u304c\u72ec\u7acb\u3057\u305f\u6587\u5b57\u3092\u4fdd\u6301\u3059\u308b\u4ed5\u7d44\u307f\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n<figure class=\"wp-block-image size-full is-style-border\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"361\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2017\/08\/20170811205230.gif\" alt=\"\u30d1\u30fc\u30c6\u30a3\u30af\u30eb\u3067\u30c6\u30ad\u30b9\u30c8\u3092\u767a\u751f\" class=\"wp-image-9435\"\/><\/figure>\n\n\n<ol class=\"wp-block-list\"><li>\u6587\u5b57\u7528Layer\u3092\u7528\u610f\u3057\u3001\u5c02\u7528Camera\u304c\u305d\u306eLayer\u3060\u3051\u3092\u63cf\u304f\u69cb\u6210\u306b\u3057\u307e\u3059\u3002\u6587\u5b57Canvas\u306fScreen Space &#8211; Camera\u306a\u3069\u5bfe\u8c61Camera\u3078\u63cf\u304b\u308c\u308b\u65b9\u5f0f\u3092\u9078\u3073\u3001Overlay\u306e\u307e\u307e\u5c02\u7528Camera\u3078\u6620\u308b\u3068\u6c7a\u3081\u3064\u3051\u307e\u305b\u3093\u3002<\/li><li>\u5c02\u7528Camera\u306eTarget Texture\u3078RenderTexture\u3092\u8a2d\u5b9a\u3057\u3001\u80cc\u666f\u3068Alpha\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u6587\u5b57\u304c\u8aad\u3081\u308b\u5bf8\u6cd5\u3001\u4f59\u767d\u3001\u8272\u3092\u7528\u610f\u3057\u307e\u3059\u3002<\/li><li>Particle Material\u306eTexture\u3078RenderTexture\u3092\u5272\u308a\u5f53\u3066\u30011\u7c92\u30fb\u505c\u6b62\u4f4d\u7f6e\u3067\u5b57\u5f62\u3068Alpha\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/li><li>\u6587\u5b57\u3092\u66f4\u65b0\u3057\u3001\u65e2\u306b\u51fa\u3066\u3044\u308bParticle\u3082\u540c\u3058Texture\u306e\u5185\u5bb9\u3078\u5909\u308f\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u51fa\u73fe\u6642\u306e\u6587\u5b57\u3092\u5404\u7c92\u3078\u56fa\u5b9a\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u5225Texture\u3084Atlas\u306e\u7ba1\u7406\u306a\u3069\u8ffd\u52a0\u306e\u8a2d\u8a08\u304c\u5fc5\u8981\u3067\u3059\u3002<\/li><\/ol>\n\n\n<p class=\"wp-block-paragraph\">\u6b21\u306eTimeScript\u306f<strong>\u65e7uGUI\u306eText\u5c02\u7528<\/strong>\u3067\u3059\u3002TextMeshPro\u306eTMP_Text\u3078\u305d\u306e\u307e\u307e\u4ed8\u3051\u308b\u30b3\u30fc\u30c9\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<a href=\"https:\/\/cg-method.com\/unity\/unity-ugui-font\/\">\u30d5\u30a9\u30f3\u30c8\u3068TMP\u306e\u8a18\u4e8b<\/a>\u3082\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u3092TimeScript.cs\u306b\u3057\u3066Text\u3068\u540c\u3058GameObject\u3078\u8ffd\u52a0\u3057\u3001Duration\u309210\u306b\u3059\u308b\u78ba\u8a8d\u7528\u306e\u4f8b\u3067\u3059\u3002<\/p>\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-csharp\" data-lang=\"C#\"><code>using UnityEngine;\nusing UnityEngine.UI;\n\n[RequireComponent(typeof(Text))]\npublic class TimeScript : MonoBehaviour\n{\n    [SerializeField] private float duration = 10f;\n    private Text label;\n    private float remaining;\n    private int previousValue = -1;\n\n    private void Awake() { label = GetComponent&lt;Text&gt;(); }\n\n    private void OnEnable()\n    {\n        if (label == null) label = GetComponent&lt;Text&gt;();\n        remaining = Mathf.Max(0f, duration);\n        previousValue = -1;\n        Refresh();\n    }\n\n    private void Update()\n    {\n        remaining = Mathf.Max(0f, remaining - Time.deltaTime);\n        Refresh();\n    }\n\n    private void Refresh()\n    {\n        int value = Mathf.CeilToInt(remaining);\n        if (label == null || value == previousValue) return;\n        label.text = value.ToString();\n        previousValue = value;\n    }\n}<\/code><\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u6709\u52b9\u5316\u6642\u306b\u6b8b\u308a\u6642\u9593\u3092\u30ea\u30bb\u30c3\u30c8\u3057\u3001\u5207\u308a\u4e0a\u3052\u305f\u6574\u6570\u304c\u5909\u308f\u308b\u3068\u304d\u3060\u3051Text\u3092\u66f4\u65b0\u3057\u307e\u3059\u3002\u671f\u5f85\u3059\u308b\u8868\u793a\u306f10\u304b\u30890\u307e\u3067\u306e\u30ab\u30a6\u30f3\u30c8\u3067\u3001Time.deltaTime\u3092\u4f7f\u3046\u305f\u3081Time Scale\u304c0\u306a\u3089\u6b62\u307e\u308a\u307e\u3059\u3002\u8ca0\u306e\u5024\u3092\u8868\u793a\u305b\u305a\u3001\u518d\u6709\u52b9\u5316\u3059\u308b\u3068\u6700\u521d\u3078\u623b\u308b\u8a2d\u8a08\u3067\u3059\u3002\u65e7\u66f4\u65b0\u753b\u50cf\u306f\u4eca\u56de\u306e\u30b3\u30fc\u30c9\u306e\u5b9f\u884c\u7d50\u679c\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n<figure class=\"wp-block-image size-full is-style-border\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"361\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2017\/08\/20170811235317.gif\" alt=\"\u30c6\u30ad\u30b9\u30c8\u306e\u66f4\u65b0\" class=\"wp-image-9436\"\/><\/figure>\n\n\n<h2 class=\"wp-block-heading\">\u6b8b\u50cf\u304c\u51fa\u308b\uff1aCamera\u306e\u30af\u30ea\u30a2\u3068Trail\u3092\u5206\u3051\u308b<\/h2>\n\n\n<p class=\"wp-block-paragraph\">Camera\u304c\u524d\u306e\u30d5\u30ec\u30fc\u30e0\u3092\u6d88\u3055\u306a\u3044\u8a2d\u5b9a\u3067\u306f\u6620\u50cf\u304c\u84c4\u7a4d\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u65e7\u753b\u50cf\u306fClear Flags\u306e\u8cc7\u6599\u3067\u3059\u3002URP\u3067\u306fBackground Type\u306a\u3069\u3001\u305d\u306e\u7248\u306e\u9805\u76ee\u3067\u78ba\u8a8d\u3057\u307e\u3059\u3002\u3059\u3079\u3066\u306e\u6b8b\u50cf\u304c\u30af\u30ea\u30a2\u8a2d\u5b9a\u306e\u554f\u984c\u3068\u306f\u9650\u3089\u305a\u3001Particle\u306eTrails\u3084\u30dd\u30b9\u30c8\u30d7\u30ed\u30bb\u30b9\u3082\u5207\u308a\u5206\u3051\u307e\u3059\u3002<\/p>\n\n\n<figure class=\"wp-block-image size-full is-style-border\"><img loading=\"lazy\" decoding=\"async\" width=\"679\" height=\"757\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2017\/08\/20170812000200.png\" alt=\"Clear Flags\u306e\u8a2d\u5b9a\" class=\"wp-image-9437\" srcset=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2017\/08\/20170812000200.png 679w, https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2017\/08\/20170812000200-269x300.png 269w\" sizes=\"auto, (max-width: 679px) 100vw, 679px\" \/><\/figure>\n\n\n<ol class=\"wp-block-list\"><li>Particle\u3092\u6b62\u3081\u3001Trails\u3084\u6b8b\u50cf\u3092\u4f5c\u308b\u5f8c\u51e6\u7406\u3092\u5916\u3057\u305f\u6bd4\u8f03\u3092\u4f5c\u308a\u307e\u3059\u3002<\/li><li>\u5bfe\u8c61Camera\u304c\u63cf\u304f\u5148\u3068\u3001\u80cc\u666f\u3092\u6bce\u30d5\u30ec\u30fc\u30e0\u6d88\u3059\u8a2d\u5b9a\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/li><li>RenderTexture\u306b\u6b8b\u3063\u305f\u753b\u50cf\u304b\u3001Particle\u306e\u751f\u5b58\u4e2d\u306e\u8868\u793a\u304b\u3092\u533a\u5225\u3057\u307e\u3059\u3002<\/li><li>UI\u900f\u904e\u304c\u5fc5\u8981\u306a\u3089\u3001\u80cc\u666f\u3092\u6d88\u3057\u305f\u5f8c\u306eAlpha\u3068RawImage\u306e\u5408\u6210\u3082\u518d\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/li><\/ol>\n\n\n<h2 class=\"wp-block-heading\">\u30d1\u30b9\u306b\u6cbf\u308f\u305b\u308b\uff1a\u65e7\u5916\u90e8\u30b3\u30fc\u30c9\u306e\u4f9d\u5b58\u95a2\u4fc2<\/h2>\n\n\n<p class=\"wp-block-paragraph\">\u6b21\u306e\u753b\u50cf\u306f\u3001\u5916\u90e8\u306eParticle Path\u30b3\u30fc\u30c9\u3092\u4f7f\u3063\u305f\u65e7\u8cc7\u6599\u3067\u3059\u3002\u6a19\u6e96Particle System\u3078\u8a2d\u5b9a\u5024\u3092\u4e00\u3064\u5165\u308c\u308b\u3060\u3051\u306e\u6a5f\u80fd\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n<figure class=\"wp-block-image size-full is-style-border\"><img loading=\"lazy\" decoding=\"async\" width=\"256\" height=\"200\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2017\/08\/20170823005053.gif\" alt=\"\u30d1\u30b9\u306b\u6cbf\u3063\u305f\u30d1\u30fc\u30c6\u30a3\u30af\u30eb\" class=\"wp-image-9453\"\/><\/figure>\n\n\n<p class=\"wp-block-paragraph\">\u5143\u8a18\u4e8b\u306e\u7d39\u4ecb\u52d5\u753b<a href=\"https:\/\/www.youtube.com\/watch?v=lIbY95qBPxc\">Unity Particles along a Path &#8211; Code<\/a>\u306e\u516c\u958b\u30e1\u30bf\u60c5\u5831\u3067\u306f\u3001\u4f5c\u8005\u306fBLINDED AM ME\u3001\u914d\u5e03\u5148\u306f<a href=\"https:\/\/github.com\/BLINDED-AM-ME\/UnityAssets\">UnityAssets\u30ea\u30dd\u30b8\u30c8\u30ea<\/a>\u3067\u3059\u3002\u4eca\u56de\u52d5\u753b\u306e\u64cd\u4f5c\u3092\u8996\u8074\u30fb\u518d\u73fe\u3057\u305f\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u53d6\u5f97\u3057\u305f\u73fe\u5728\u306eParticlePathFlow.cs\u306fMonoBehaviour2\u3092\u7d99\u627f\u3057\u3001Path\u3084MathExtensions\u306a\u3069\u306b\u3082\u4f9d\u5b58\u3057\u3066\u3044\u307e\u3059\u3002\u65e7\u8a18\u4e8b\u306e3\u30d5\u30a1\u30a4\u30eb\u540d\u3060\u3051\u3092\u30b3\u30d4\u30fc\u3059\u308c\u3070\u4f7f\u3048\u308b\u3068\u306f\u6848\u5185\u3057\u307e\u305b\u3093\u3002<\/p>\n\n\n<figure class=\"wp-block-image size-full is-style-border\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"326\" src=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2017\/08\/20170823004540-768x326.png\" alt=\"\u30d1\u30b9\u306b\u6cbf\u308f\u305b\u308b\u8a2d\u5b9a\" class=\"wp-image-9452\" srcset=\"https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2017\/08\/20170823004540-768x326.png 768w, https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2017\/08\/20170823004540-300x127.png 300w, https:\/\/cg-method.com\/unity\/wp-content\/uploads\/2017\/08\/20170823004540.png 1024w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n<ol class=\"wp-block-list\"><li>\u307e\u305a\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5b9f\u969b\u306e\u30d5\u30a1\u30a4\u30eb\u69cb\u6210\u3001\u4f9d\u5b58\u3059\u308b\u578b\u3001\u5229\u7528\u6761\u4ef6\u3068\u5bfe\u8c61Unity\u7248\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/li><li>\u65e2\u5b58\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3078\u76f4\u63a5\u8ffd\u52a0\u305b\u305a\u3001\u8907\u88fd\u3057\u305f\u691c\u8a3c\u7528\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u4f9d\u5b58\u95a2\u4fc2\u3068Console\u306e\u30a8\u30e9\u30fc\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/li><li>\u30d1\u30b9\u3068Particle\u306e\u5ea7\u6a19\u7a7a\u9593\u3001\u901f\u5ea6\u3001\u5bff\u547d\u3001\u7d4c\u8def\u9577\u3092\u305d\u308d\u3048\u307e\u3059\u3002\u53d6\u5f97\u3057\u305f\u30b3\u30fc\u30c9\u306f\u7c92\u5b50\u306e\u7d4c\u904e\u5bff\u547d\u3068\u901f\u5ea6\u306e\u5927\u304d\u3055\u304b\u3089\u30d1\u30b9\u4e0a\u306e\u8ddd\u96e2\u3092\u6c42\u3081\u308b\u305f\u3081\u3001\u30d1\u30b9\u3060\u3051\u3092\u8a2d\u5b9a\u3057\u3066\u7d50\u679c\u304c\u78ba\u5b9a\u3059\u308b\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/li><li>\u30bc\u30ed\u9577\u306e\u7d4c\u8def\u3001\u7c92\u5b50\u6570\u5909\u66f4\u3001\u518d\u751f\u30fb\u505c\u6b62\u306a\u3069\u3082\u78ba\u8a8d\u3057\u3001\u5b9f\u884c\u7d50\u679c\u3092\u4fdd\u5b58\u3057\u3066\u304b\u3089\u672c\u756a\u306e\u6f14\u51fa\u3078\u79fb\u3057\u307e\u3059\u3002<\/li><\/ol>\n\n\n<p class=\"wp-block-paragraph\">\u73fe\u5728\u306e\u4f9d\u5b58\u30d5\u30a1\u30a4\u30eb\u4e00\u5f0f\u3068Unity\u3067\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u30fb\u52d5\u4f5c\u78ba\u8a8d\u306f\u672a\u5b8c\u4e86\u3067\u3059\u3002\u3053\u306e\u7bc0\u306f\u65e7\u8cc7\u6599\u3068\u8abf\u67fb\u7d50\u679c\u306e\u6574\u7406\u3067\u3042\u308a\u3001\u73fe\u884c\u7248\u3067\u52d5\u304f\u3053\u3068\u3092\u78ba\u8a8d\u3057\u305f\u5b8c\u6210\u624b\u9806\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n<h2 class=\"wp-block-heading\">\u885d\u7a81\u4f4d\u7f6e\u3078\u5225\u306eParticle\u3092\u751f\u6210\u3059\u308b<\/h2>\n\n\n<p class=\"wp-block-paragraph\">\u65e7\u30b3\u30fc\u30c9\u306eParticleSystem.CollisionEvent[]\u3092\u3001\u73fe\u884cAPI\u306b\u5408\u3046List&lt;ParticleCollisionEvent&gt;\u3078\u5909\u66f4\u3057\u3066\u3044\u307e\u3059\u3002<a href=\"https:\/\/docs.unity3d.com\/6000.3\/Documentation\/ScriptReference\/ParticlePhysicsExtensions.GetCollisionEvents.html\">GetCollisionEvents<\/a>\u3067\u5f97\u305f\u30a4\u30d9\u30f3\u30c8\u6570\u3060\u3051\u3092\u51e6\u7406\u3057\u307e\u3059\u3002<a href=\"https:\/\/docs.unity3d.com\/6000.3\/Documentation\/ScriptReference\/MonoBehaviour.OnParticleCollision.html\">OnParticleCollision<\/a>\u306e\u547c\u3073\u51fa\u3057\u56de\u6570\u3068\u885d\u7a81\u30a4\u30d9\u30f3\u30c8\u306e\u6570\u3092\u540c\u3058\u3068\u8003\u3048\u306a\u3044\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n<ol class=\"wp-block-list\"><li>\u30d3\u30fc\u30e0\u5074\u306eParticle System\u3078FX_Test.cs\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002Collision\u30e2\u30b8\u30e5\u30fc\u30eb\u3092World\u30013D\u3068\u3057\u3066\u3001\u5bfe\u8c61Collider\u306eLayer\u3092Collides With\u3078\u542b\u3081\u3001Send Collision Messages\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u3002<\/li><li>\u885d\u7a81\u76f8\u624b\u306b3D Collider\u3092\u4ed8\u3051\u307e\u3059\u30022D Collider\u3092\u540c\u3058\u4f8b\u3078\u6df7\u305c\u305a\u3001Particle\u304c\u5b9f\u969b\u306b\u76f8\u624b\u3078\u5230\u9054\u3059\u308b\u4f4d\u7f6e\u3068\u901f\u5ea6\u3092\u7528\u610f\u3057\u307e\u3059\u3002<\/li><li>\u885d\u7a81\u6642\u306eParticle System\u3092\u5225\u306ePrefab\u306b\u3057\u3001Hit Effect Prefab\u3078\u5272\u308a\u5f53\u3066\u307e\u3059\u3002Scene\u5185\u306eExplosion\u3068\u3044\u3046\u540d\u524d\u3092\u691c\u7d22\u3059\u308b\u65b9\u5f0f\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u30d3\u30fc\u30e0\u81ea\u8eab\u3092\u5272\u308a\u5f53\u3066\u305a\u3001\u885d\u7a81\u7528Prefab\u3078FX_Test\u3092\u4ed8\u3051\u306a\u3044\u69cb\u6210\u306b\u3057\u307e\u3059\u3002<\/li><li>\u885d\u7a81\u7528Prefab\u306e\u672c\u4f53\u3068\u5b50\u306eLoop\u3092\u30aa\u30d5\u306b\u3057\u3001\u5358\u72ec\u518d\u751f\u3067\u7d42\u4e86\u3067\u304d\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002Cleanup Timeout\u306fStart Delay\u3001Duration\u3001Lifetime\u3001\u5b50\u306e\u6f14\u51fa\u3092\u542b\u3081\u3066\u5341\u5206\u306a\u5024\u3078\u8abf\u6574\u3057\u307e\u3059\u3002<\/li><li>Play On Awake\u3067\u78ba\u8a8d\u3059\u308b\u304b\u3001Button\u306eOn Click\u3078\u3053\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306ePlayBeam\u3092\u767b\u9332\u3057\u307e\u3059\u3002\u3053\u306e\u30b3\u30fc\u30c9\u306f\u65e7Input.GetMouseButtonDown\u3092\u4f7f\u3044\u307e\u305b\u3093\u3002<\/li><li>\u6700\u521d\u306f\u5c11\u306a\u3044\u7c92\u5b50\u3067\u885d\u7a81\u70b9\u3068\u751f\u6210\u6570\u3092\u78ba\u8a8d\u3057\u30011\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u306e\u4e0a\u9650\u3001\u540c\u6642\u751f\u6210\u6570\u3001\u505c\u6b62\u6642\u306e\u5f8c\u59cb\u672b\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/li><\/ol>\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-csharp\" data-lang=\"C#\"><code>using UnityEngine;\nusing System.Collections;\nusing System.Collections.Generic;\n\n[RequireComponent(typeof(ParticleSystem))]\npublic class FX_Test : MonoBehaviour\n{\n    [SerializeField] private ParticleSystem hitEffectPrefab;\n    [SerializeField, Min(1)] private int maxHitsPerCallback = 4;\n    [SerializeField, Min(1)] private int maxLiveHits = 32;\n    [SerializeField, Min(0.1f)] private float cleanupTimeout = 10f;\n    private ParticleSystem source;\n    private readonly List&lt;ParticleCollisionEvent&gt; collisionEvents = new List&lt;ParticleCollisionEvent&gt;(16);\n    private readonly List&lt;ParticleSystem&gt; liveHits = new List&lt;ParticleSystem&gt;();\n\n    private void Awake() { source = GetComponent&lt;ParticleSystem&gt;(); }\n\n    public void PlayBeam()\n    {\n        if (source != null &amp;&amp; isActiveAndEnabled) source.Play(true);\n    }\n\n    private void OnParticleCollision(GameObject other)\n    {\n        if (!isActiveAndEnabled || source == null || other == null\n            || hitEffectPrefab == null || hitEffectPrefab == source) return;\n\n        liveHits.RemoveAll(item =&gt; item == null);\n        int count = source.GetCollisionEvents(other, collisionEvents);\n        int spawnCount = Mathf.Min(count, Mathf.Max(1, maxHitsPerCallback));\n        for (int i = 0; i &lt; spawnCount &amp;&amp; liveHits.Count &lt; Mathf.Max(1, maxLiveHits); i++)\n        {\n            ParticleSystem hit = Instantiate(hitEffectPrefab, collisionEvents[i].intersection, Quaternion.identity);\n            hit.gameObject.SetActive(true);\n            hit.Stop(true, ParticleSystemStopBehavior.StopEmittingAndClear);\n            hit.Play(true);\n            liveHits.Add(hit);\n            StartCoroutine(ReleaseAfterPlayback(hit));\n        }\n    }\n\n    private IEnumerator ReleaseAfterPlayback(ParticleSystem hit)\n    {\n        float deadline = Time.realtimeSinceStartup + Mathf.Max(0.1f, cleanupTimeout);\n        yield return null;\n        while (hit != null &amp;&amp; hit.IsAlive(true) &amp;&amp; Time.realtimeSinceStartup &lt; deadline)\n            yield return null;\n        if (hit != null)\n        {\n            liveHits.Remove(hit);\n            Destroy(hit.gameObject);\n        }\n    }\n\n    private void OnDisable()\n    {\n        StopAllCoroutines();\n        foreach (ParticleSystem hit in liveHits)\n            if (hit != null) Destroy(hit.gameObject);\n        liveHits.Clear();\n    }\n}<\/code><\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u885d\u7a81\u4f4d\u7f6e\u3078Prefab\u3092\u4f5c\u308a\u3001<a href=\"https:\/\/docs.unity3d.com\/6000.3\/Documentation\/ScriptReference\/ParticleSystem.IsAlive.html\">IsAlive(true)<\/a>\u3067\u5b50\u3092\u542b\u3081\u3066\u751f\u5b58\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u901a\u5e38\u306e\u7d42\u4e86\u307e\u3067\u5f85\u3061\u307e\u3059\u304c\u3001\u5b9f\u6642\u9593\u306e\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u3082\u3042\u308b\u305f\u3081\u3001\u8a2d\u5b9a\u304c\u77ed\u3044\u3068\u6f14\u51fa\u3092\u9014\u4e2d\u3067\u7834\u68c4\u3057\u307e\u3059\u3002\u7121\u52b9\u5316\u6642\u306f\u3053\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u751f\u6210\u3057\u305f\u885d\u7a81\u7528\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u7834\u68c4\u3057\u307e\u3059\u3002\u30d3\u30fc\u30e0\u672c\u4f53\u306e\u505c\u6b62\u3084\u5168\u4f53\u306e\u30ea\u30bb\u30c3\u30c8\u307e\u3067\u884c\u3046\u30b3\u30fc\u30c9\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u4e0a\u9650\u3092\u8d85\u3048\u308b\u885d\u7a81\u30a4\u30d9\u30f3\u30c8\u306f\u7701\u7565\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306f\u7121\u5236\u9650\u306a\u751f\u6210\u3092\u907f\u3051\u308b\u4f8b\u3067\u3001Object Pool\u3084\u6027\u80fd\u6e2c\u5b9a\u3092\u5b9f\u88c5\u3057\u305f\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u983b\u7e41\u306a\u885d\u7a81\u3078\u4f7f\u3046\u5834\u5408\u306f\u5bfe\u8c61\u7aef\u672b\u3067\u6e2c\u5b9a\u3057\u3001\u5fc5\u8981\u306a\u3089Pool\u5316\u306a\u3069\u5225\u306e\u8a2d\u8a08\u3092\u691c\u8a0e\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n<h2 class=\"wp-block-heading\">\u8868\u793a\u3067\u304d\u306a\u3044\u3068\u304d\u306e\u78ba\u8a8d\u9806<\/h2>\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u9805\u76ee\u30fb\u75c7\u72b6<\/th><th>\u8a2d\u5b9a\u30fb\u78ba\u8a8d\u5148<\/th><\/tr><\/thead><tbody><tr><td>\u4f55\u3082\u898b\u3048\u306a\u3044<\/td><td>Camera\u306eCulling Mask\u3001Layer\u3001Particle\u306ePlay\u72b6\u614b\u3001Material\u306eShader\u3068Alpha\u3092\u78ba\u8a8d\u3002<\/td><\/tr><tr><td>UI\u306b\u91cd\u306a\u3089\u306a\u3044<\/td><td>RenderTexture\u306eTarget Texture\u3001RawImage\u306eTexture\u3068\u63cf\u753b\u9806\u3001\u80cc\u666f\u306eAlpha\u3092\u78ba\u8a8d\u3002<\/td><\/tr><tr><td>\u6587\u5b57\u304c\u5909\u308f\u3089\u306a\u3044<\/td><td>Text\u3068TMP\u306e\u578b\u3001\u6587\u5b57Camera\u304c\u63cf\u304fCanvas\u3001\u5171\u6709Texture\u306e\u66f4\u65b0\u3092\u78ba\u8a8d\u3002<\/td><\/tr><tr><td>\u885d\u7a81\u7528\u30a8\u30d5\u30a7\u30af\u30c8\u304c\u51fa\u306a\u3044<\/td><td>3D Collider\u3001Collides With\u3001Send Collision Messages\u3001Hit Effect Prefab\u3001Console\u3092\u78ba\u8a8d\u3002<\/td><\/tr><tr><td>\u885d\u7a81\u7528\u30a8\u30d5\u30a7\u30af\u30c8\u304c\u6d88\u3048\u306a\u3044\uff0f\u9014\u4e2d\u3067\u6d88\u3048\u308b<\/td><td>\u5b50\u3092\u542b\u3080Loop\u3001IsAlive\u3001Cleanup Timeout\u3001\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u6709\u52b9\u72b6\u614b\u3092\u78ba\u8a8d\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<p class=\"wp-block-paragraph\">\u65e2\u5b58\u306e<a href=\"https:\/\/github.com\/MOTOKI-LLC\/cg-method-code\/tree\/main\/unity\/unity-effect-particle\">\u5143\u30b3\u30fc\u30c9\u7f6e\u304d\u5834<\/a>\u306f\u539f\u7248\u306e\u8cc7\u6599\u3067\u3059\u3002\u672c\u6587\u306eC#\u4fee\u6b63\u7248\u3068\u540c\u4e00\u3068\u306f\u9650\u3089\u305a\u3001\u3053\u3053\u3067\u306f\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u66f4\u65b0\u3057\u3066\u3044\u307e\u305b\u3093\u3002\u7d20\u6750\u306eUV\u30fb\u9023\u756a\u30fbBillboard\u306f\u6b21\u306e\u8a18\u4e8b\u3001\u63cf\u753b\u65b9\u5f0f\u306fShader\u306e\u8a18\u4e8b\u3067\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\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\/2016\/01\/effect-creation-necessary-functions-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\/effect-creation-necessary-functions\/\">Unity\u30a8\u30d5\u30a7\u30af\u30c8\u7d20\u6750\u306e\u8a2d\u5b9a\uff1aUV\u30fb\u9802\u70b9\u8272\u30fb\u30b9\u30af\u30ed\u30fc\u30eb\u30fbBillboard\u30fb\u9023\u756a<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">Unity\u306e\u30a8\u30d5\u30a7\u30af\u30c8\u7d20\u6750\u3092\u7d44\u307f\u8fbc\u3080\u305f\u3081\u306eUV\u3001\u9802\u70b9\u8272\u3001FBX\u30ab\u30fc\u30d6\u3001Alpha\u3001UV\u30b9\u30af\u30ed\u30fc\u30eb\u3001Billboard\u3001\u9023\u756aTexture\u3092\u6574\u7406\u3002\u5171\u6709Material\u3092\u5909\u66f4\u3057\u306a\u3044\u30b3\u30fc\u30c9\u3068\u78ba\u8a8d\u624b\u9806\u3092\u63b2\u8f09\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<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-animation-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-animation-shader\/\">Unity\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u7528\u30b7\u30a7\u30fc\u30c0\u30fc\uff1a\u52a0\u7b97\u30fbCutout\u30fbAlpha\u30de\u30b9\u30af\u306e\u9078\u3073\u65b9<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">Unity\u306e\u52a0\u7b97\u3001\u4e21\u9762\u8868\u793a\u3001Cutout\u3001Alpha\u30de\u30b9\u30af\u3001\u6df1\u5ea6\u8868\u793a\u3092\u7528\u9014\u5225\u306b\u6574\u7406\u3002Built-in\u3068URP\u306e\u9055\u3044\u3001\u65e7\u30b3\u30fc\u30c9\u306e\u4e0d\u8db3\u3001\u900f\u660e\u5ea6\u3068\u6df1\u5ea6\u306e\u78ba\u8a8d\u65b9\u6cd5\u3092\u8aac\u660e\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","protected":false},"excerpt":{"rendered":"<p>Unity Particle System\u306eUI\u8868\u793a\u3001Max Particle Size\u3001\u6587\u5b57RenderTexture\u3001Camera\u80cc\u666f\u3001\u5916\u90e8\u30d1\u30b9\u3001\u885d\u7a81\u751f\u6210\u3092\u7528\u9014\u5225\u306b\u6574\u7406\u3002\u8a2d\u5b9a\u30fb\u671f\u5f85\u7d50\u679c\u30fb\u5931\u6557\u6642\u306e\u78ba\u8a8d\u3068C#\u4fee\u6b63\u7248\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":21693,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","book_review_data":"","footnotes":"","ssp_meta_title":"Unity\u30d1\u30fc\u30c6\u30a3\u30af\u30eb\u306e\u4f7f\u3044\u65b9\uff1aUI\u91cd\u306d\u30fb\u6587\u5b57\u30fb\u30b5\u30a4\u30ba\u30fb\u885d\u7a81\u306e\u8a2d\u5b9a","ssp_meta_description":"Unity Particle System\u306eUI\u8868\u793a\u3001Max Particle Size\u3001\u6587\u5b57RenderTexture\u3001Camera\u80cc\u666f\u3001\u5916\u90e8\u30d1\u30b9\u3001\u885d\u7a81\u751f\u6210\u3092\u7528\u9014\u5225\u306b\u6574\u7406\u3002\u8a2d\u5b9a\u30fb\u671f\u5f85\u7d50\u679c\u30fb\u5931\u6557\u6642\u306e\u78ba\u8a8d\u3068C#\u4fee\u6b63\u7248\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002"},"categories":[23],"tags":[],"class_list":["post-17293","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-effect"],"_links":{"self":[{"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/posts\/17293","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=17293"}],"version-history":[{"count":9,"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/posts\/17293\/revisions"}],"predecessor-version":[{"id":22267,"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/posts\/17293\/revisions\/22267"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/media\/21693"}],"wp:attachment":[{"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/media?parent=17293"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/categories?post=17293"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cg-method.com\/unity\/wp-json\/wp\/v2\/tags?post=17293"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}