{"url":"https://toburau.hatenablog.jp/entry/2025/05/02/205817","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoburau.hatenablog.jp%2Fentry%2F2025%2F05%2F02%2F205817\" title=\"\u885d\u7a81\u5224\u5b9a - \u30b2\u30fc\u30e0\u304c\u4f5c\u308c\u308b\u3088\u3046\u306b\u306a\u308b\u307e\u3067\u304c\u3093\u3070\u308b\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u30b2\u30fc\u30e0\u304c\u4f5c\u308c\u308b\u3088\u3046\u306b\u306a\u308b\u307e\u3067\u304c\u3093\u3070\u308b\u65e5\u8a18","type":"rich","image_url":null,"width":"100%","blog_url":"https://toburau.hatenablog.jp/","published":"2025-05-02 20:58:17","description":"\u30d7\u30ec\u30a4\u30e4\u30fc\u3068\u969c\u5bb3\u7269\u306e\u885d\u7a81\u5224\u5b9a\u306e\u51e6\u7406\u3092\u8ffd\u52a0\u3002 \u30d7\u30ec\u30a4\u30e4\u30fc\u306e\u5f62\u72b6\u306f\u5186\u306a\u306e\u3067\u3001Circle Collider 2D \u3092\u8ffd\u52a0\u3002\u969c\u5bb3\u7269\u306f\u56db\u89d2\u306a\u306e\u3067\u3001Box Collider 2D \u3092\u8ffd\u52a0\u3002 \u969c\u5bb3\u7269\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u306f\u30bf\u30b0\u201dObstacle\"\u3092\u8ffd\u52a0\u3002 \u30d7\u30ec\u30a4\u30e4\u30fc\u306b\u6b21\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u8ffd\u52a0\u3057\u3066\u3001OnCollisionEnter2D() \u3067\u30bf\u30b0\u3092\u8abf\u3079\u3066\u969c\u5bb3\u7269\u3068\u885d\u7a81\u3057\u305f\u304b\u5224\u5b9a\u3059\u308b\u3002 using UnityEngine; public class PlayerCollision : MonoBehaviour { void OnCollisionEnter2D(Collision2D collision) { if (\u2026","height":"190","author_name":"toburau","title":"\u885d\u7a81\u5224\u5b9a","author_url":"https://blog.hatena.ne.jp/toburau/","categories":["\u30d7\u30ed\u30b8\u30a7\u30af\u30c828","Unity"],"provider_name":"Hatena Blog","version":"1.0"}