{"width":"100%","provider_url":"https://hatena.blog","type":"rich","published":"2023-02-28 09:00:00","url":"https://baba-s.hatenablog.com/entry/2023/02/28/090000","blog_title":"\u30b3\u30ac\u30cd\u30d6\u30ed\u30b0","author_name":"baba_s","description":"\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9 using Unity.Collections; namespace Kogane { public static class NativeArrayExtensionMethods { public static void Reverse<T>( this NativeArray<T> self ) where T : unmanaged { var halfLength = self.Length / 2; var i = 0; var j = self.Length - 1; for ( ; i < halfLength; i++, j-- ) { ( self[ i ],\u2026","version":"1.0","image_url":null,"blog_url":"https://baba-s.hatenablog.com/","provider_name":"Hatena Blog","categories":["Unity","Unity - \u62e1\u5f35\u30e1\u30bd\u30c3\u30c9"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaba-s.hatenablog.com%2Fentry%2F2023%2F02%2F28%2F090000\" title=\"\u3010Unity\u3011NativeArray \u3067 Reverse \u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u3059\u308b\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>","author_url":"https://blog.hatena.ne.jp/baba_s/","height":"190","title":"\u3010Unity\u3011NativeArray \u3067 Reverse \u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u3059\u308b\u62e1\u5f35\u30e1\u30bd\u30c3\u30c9"}