{"provider_url":"https://hatena.blog","author_name":"masa795","categories":["unity","c#"],"version":"1.0","blog_title":"\u9752\u7a7a\u306e\u6708","title":"enum\u306e\u5024\u3092\u30e9\u30f3\u30c0\u30e0\u3067\u53d6\u5f97\u3059\u308b","url":"https://masa795.hatenablog.jp/entry/2013/04/18/102241","author_url":"https://blog.hatena.ne.jp/masa795/","provider_name":"Hatena Blog","published":"2013-04-18 10:22:41","blog_url":"https://masa795.hatenablog.jp/","type":"rich","width":"100%","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmasa795.hatenablog.jp%2Fentry%2F2013%2F04%2F18%2F102241\" title=\"enum\u306e\u5024\u3092\u30e9\u30f3\u30c0\u30e0\u3067\u53d6\u5f97\u3059\u308b - \u9752\u7a7a\u306e\u6708\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","description":"enum\u306e\u5024\u3092\u30e9\u30f3\u30c0\u30e0\u3067\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u3002 C#\u306eLinq\u3092\u4f7f\u3063\u3066\u30e9\u30f3\u30c0\u30e0\u53d6\u5f97\u3059\u308b\u3002\u7d50\u69cb\u3001\u6c4e\u7528\u7684\u306b\u4f7f\u3048\u305d\u3046\u306a\u306e\u3067Utility\u30af\u30e9\u30b9\u306b\u3067\u3082\u5165\u308c\u3068\u304f\u3068\u3044\u3044\u304b\u3082\u3002 using UnityEngine; using System.Collections; using System.Collections.Generic; using System; using System.Linq; public class EnumRandom : MonoBehaviour { public enum WidgetType { Label, Sprite, SlicedSprite, TiledSprite, F\u2026"}