{"categories":["C#","Unity"],"version":"1.0","url":"https://takap-tech.com/entry/2023/01/03/001741","title":"Odin\u3067\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u6709\u52b9(or \u7121\u52b9)\u306e\u6642\u3060\u3051\u30e1\u30cb\u30e5\u30fc\u3092\u8868\u793a\u3059\u308b","blog_title":"PG\u65e5\u8a8c","description":"Unity \u306e Editor \u62e1\u5f35\u304c\u7c21\u5358\u306b\u3067\u304d\u308b\u6709\u6599\u30a2\u30bb\u30c3\u30c8\u300cOdin Inspector and Serializer\u300d\u3067\u3001\u3042\u308b bool \u578b\u306e\u5909\u6570\u5024\u304c true(or false) \u306e\u6642\u3060\u3051\u30a4\u30f3\u30b9\u30da\u30af\u30bf\u30fc\u306b\u8868\u793a\u3055\u308c\u308b\u30e1\u30cb\u30e5\u30fc\u306e\u4f5c\u6210\u65b9\u6cd5\u3067\u3059\u3002 \u4ee5\u4e0b\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u30a2\u30bf\u30c3\u30c1\u3057\u307e\u3059\u3002 using Sirenix.OdinInspector; // \u30b5\u30f3\u30d7\u30eb\u7528\u306e\u30af\u30e9\u30b9 public class OdinSample : MonoBehaviour { // \u30aa\u30d7\u30b7\u30e7\u30f3\u30b9\u30a4\u30c3\u30c1 [SerializeField] bool _optionSwicth; // \u30aa\u30d7\u30b7\u30e7\u30f3\u30b9\u30a4\u30c3\u30c1\u304ctrue\u306e\u2026","type":"rich","provider_name":"Hatena Blog","published":"2023-01-03 00:17:41","author_url":"https://blog.hatena.ne.jp/Takachan/","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/T/Takachan/20230103/20230103001531.png","blog_url":"https://takap-tech.com/","height":"190","author_name":"Takachan","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakap-tech.com%2Fentry%2F2023%2F01%2F03%2F001741\" title=\"Odin\u3067\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u6709\u52b9(or \u7121\u52b9)\u306e\u6642\u3060\u3051\u30e1\u30cb\u30e5\u30fc\u3092\u8868\u793a\u3059\u308b - PG\u65e5\u8a8c\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","provider_url":"https://hatena.blog"}