{"title":"Unity2020.2\u3067null\u8a31\u5bb9\u53c2\u7167\u578b\u3092\u4f7f\u3046","provider_url":"https://hatena.blog","width":"100%","provider_name":"Hatena Blog","version":"1.0","type":"rich","description":"null\u8a31\u5bb9\u53c2\u7167\u578b\u3063\u3066\uff1f \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u8aad\u307f\u307e\u3057\u3087\u3046\u3002 \u3053\u308c\u304c\u6b32\u3057\u304b\u3063\u305f\uff01\u6700\u9ad8\uff01 Unity\u3067\u4f7f\u3046\u306b\u306f\u8f9b\u3055\u304c\u3042\u308b SerializeField\u306f#nullable enable\u3067\u56f2\u3046\u3002\u3068\u304b\u306f\u826f\u3044\u3068\u3057\u3066\u3001 public class Hoge : MonoBehaviour { private HogeComponent _cache; public void Start() { _cache = GetComponent<HogeComponent>(); } } \u3053\u3046\u3044\u3046\u30b3\u30fc\u30c9\u3082\u3001\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u3067\u521d\u671f\u5316\u3057\u3066\u306a\u3044\u306e\u3067\u30a8\u30e9\u30fc\uff08\u6b63\u3057\u304f\u306f\u8b66\u544a\u3067\u3059\u304c\uff09\u306b\u306a\u3063\u3061\u3083\u3046\u3093\u3067\u3059\u3088\u306d\u3002 \u78ba\u304b\u306bStart\u547c\u3070\u308c\u308b\u307e\u2026","categories":["Unity","C#"],"author_url":"https://blog.hatena.ne.jp/kyubuns/","blog_url":"https://blog.kyubuns.dev/","blog_title":"\u304d\u3085\u3076\u308d\u3050","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.kyubuns.dev%2Fentry%2F2020%2F12%2F16%2F172335\" title=\"Unity2020.2\u3067null\u8a31\u5bb9\u53c2\u7167\u578b\u3092\u4f7f\u3046 - \u304d\u3085\u3076\u308d\u3050\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://blog.kyubuns.dev/entry/2020/12/16/172335","author_name":"kyubuns","published":"2020-12-16 17:23:35","image_url":null,"height":"190"}