{"published":"2017-09-20 10:00:00","url":"https://baba-s.hatenablog.com/entry/2017/09/20/100000","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaba-s.hatenablog.com%2Fentry%2F2017%2F09%2F20%2F100000\" title=\"\u3010Unity\u3011\u3010uGUI\u3011SpriteAtlas \u306b\u542b\u307e\u308c\u3066\u3044\u308b\u3059\u3079\u3066\u306e Sprite \u3092\u8fd4\u3059\u62e1\u5f35\u30e1\u30bd\u30c3\u30c9 - \u30b3\u30ac\u30cd\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","title":"\u3010Unity\u3011\u3010uGUI\u3011SpriteAtlas \u306b\u542b\u307e\u308c\u3066\u3044\u308b\u3059\u3079\u3066\u306e Sprite \u3092\u8fd4\u3059\u62e1\u5f35\u30e1\u30bd\u30c3\u30c9","width":"100%","blog_url":"https://baba-s.hatenablog.com/","blog_title":"\u30b3\u30ac\u30cd\u30d6\u30ed\u30b0","author_name":"baba_s","type":"rich","author_url":"https://blog.hatena.ne.jp/baba_s/","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/94867065/1535279515352365","description":"\u306f\u3058\u3081\u306b var sprites = new Sprite[ spriteAtlas.spriteCount ]; spriteAtlas.GetSprites( sprites ); SpriteAtlas \u306b\u542b\u307e\u308c\u3066\u3044\u308b\u3059\u3079\u3066\u306e Sprite \u3092\u53d6\u5f97\u3059\u308b\u5834\u5408\u3001 \u4e0a\u8a18\u306e\u3088\u3046\u306a\u51e6\u7406\u3092\u8a18\u8ff0\u3059\u308c\u3070\u5b9f\u73fe\u3067\u304d\u307e\u3059\u304c \u6bce\u56de\u914d\u5217\u3092\u5b9a\u7fa9\u3059\u308b\u306e\u304c\u5927\u5909\u3060\u3063\u305f\u306e\u3067 \u3059\u3079\u3066\u306e Sprite \u3092\u623b\u308a\u5024\u3067\u53d7\u3051\u53d6\u308c\u308b\u62e1\u5f35\u30e1\u30bd\u30c3\u30c9\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f \u30bd\u30fc\u30b9\u30b3\u30fc\u30c9 using UnityEngine; using UnityEngine.U2D; /// <summary> /// SpriteAtlas \u578b\u306e\u62e1\u5f35\u30e1\u30bd\u30c3\u30c9\u3092\u7ba1\u7406\u2026","categories":["Unity","Unity - uGUI","Unity - \u62e1\u5f35\u30e1\u30bd\u30c3\u30c9"],"provider_url":"https://hatena.blog","height":"190","version":"1.0"}