{"categories":["Unity","C# - Deconstruct"],"title":"\u3010C#\u3011Vector3Int \u306e\u4ee3\u5165\u3092\u7c21\u7565\u5316\u3059\u308b Deconstruction","blog_url":"https://baba-s.hatenablog.com/","published":"2019-09-03 23:06:00","description":"\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9 using UnityEngine; public static class Vector3IntExt { public static void Deconstruct ( this Vector3Int self, out int x, out int y, out int z ) { x = self.x; y = self.y; z = self.z; } } \u4f7f\u7528\u4f8b \u901a\u5e38 var vec = new Vector3Int( 1, 2, 3 ); Deconstruction var ( x, y, z ) = new Vector3Int( 1, 2, 3 );","provider_name":"Hatena Blog","width":"100%","blog_title":"\u30b3\u30ac\u30cd\u30d6\u30ed\u30b0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaba-s.hatenablog.com%2Fentry%2F2019%2F09%2F03%2F230600\" title=\"\u3010C#\u3011Vector3Int \u306e\u4ee3\u5165\u3092\u7c21\u7565\u5316\u3059\u308b Deconstruction - \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>","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/94867065/1535279515352365","provider_url":"https://hatena.blog","author_name":"baba_s","url":"https://baba-s.hatenablog.com/entry/2019/09/03/230600","author_url":"https://blog.hatena.ne.jp/baba_s/","version":"1.0","height":"190","type":"rich"}