{"blog_title":"Programming Serendipity","categories":["C#","Unity "],"published":"2015-08-26 19:00:00","title":"Unity5 \u30e1\u30e224","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fq7z.hatenablog.com%2Fentry%2F2015%2F08%2F26%2F190000\" title=\"Unity5 \u30e1\u30e224 - Programming Serendipity\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://q7z.hatenablog.com/","description":"\u885d\u7a81\u3057\u305f\u5834\u6240\u306bParticleSystem\u3092\u751f\u6210 public void OnCollisionEnter(Collision coll) { var p = Instantiate(collParticle, coll.contacts[0].point, Quaternion.identity) as ParticleSystem; Destroy(p.gameObject, p.duration); } \u4e0b\u304b\u3089\u3082\u6c34\u9762\u304c\u898b\u3048\u308b\u3088\u3046\u306b\u3059\u308b Standard Assets > Environment > Water > Water > Prefabs\u306b\u6c34\u9762\u304c\u3042\u308b\u304c\u3001\u3053\u308c1\u3064\u3060\u3051\u3060\u3068\u4e0b\u304b\u3089\u898b\u305f\u3068\u2026","provider_url":"https://hatena.blog","width":"100%","author_name":"q7z","author_url":"https://blog.hatena.ne.jp/q7z/","url":"https://q7z.hatenablog.com/entry/2015/08/26/190000","height":"190","type":"rich","version":"1.0","image_url":null}