{"url":"https://tofgame.hatenablog.com/entry/2019/04/19/021435","title":"\u3010Unity\u3011\u30de\u30c6\u30ea\u30a2\u30eb\u306e\u8272\u3092\u30b9\u30af\u30ea\u30d7\u30c8\u304b\u3089\u5909\u66f4\u3059\u308b","blog_url":"https://tofgame.hatenablog.com/","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/154301214/1556293606142571","height":"190","categories":["Unity","Unity-\u305d\u306e\u4ed6"],"width":"100%","blog_title":"\u30c8\u30fc\u30d5\u30e1\u30e2","description":"\u3061\u3087\u3063\u3068\u3057\u305f\u30e1\u30e2 Cube\u3084Sphere\u306e\u30de\u30c6\u30ea\u30a2\u30eb\u306e\u8272\u306f\u30b9\u30af\u30ea\u30d7\u30c8\u304b\u3089\u5909\u66f4\u3067\u304d\u307e\u3059\u3002 Block.cs using UnityEngine; public class Block : MonoBehaviour { private Material material; private void Init () { material = GetComponent<Renderer>().material; } private void Awake () { Init(); } private void Start () { //\u3069\u3063\u3061\u3082\u540c\u3058 material.SetColor(\"_Color\"\u2026","published":"2019-04-19 02:14:35","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/tofgame/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftofgame.hatenablog.com%2Fentry%2F2019%2F04%2F19%2F021435\" title=\"\u3010Unity\u3011\u30de\u30c6\u30ea\u30a2\u30eb\u306e\u8272\u3092\u30b9\u30af\u30ea\u30d7\u30c8\u304b\u3089\u5909\u66f4\u3059\u308b - \u30c8\u30fc\u30d5\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"tofgame","provider_name":"Hatena Blog","type":"rich","version":"1.0"}