{"categories":["Unity","Unity - \u65b0\u6a5f\u80fd"],"provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/baba_s/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaba-s.hatenablog.com%2Fentry%2F2019%2F08%2F27%2F130000\" title=\"\u3010Unity\u3011Unity 2019.2 \u65b0\u6a5f\u80fd - Android \u306b\u304a\u3044\u3066\u753b\u9762\u306e\u8f1d\u5ea6\u3092\u53d6\u5f97\u3067\u304d\u308b\u300cScreen.brightness\u300d - \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>","height":"190","title":"\u3010Unity\u3011Unity 2019.2 \u65b0\u6a5f\u80fd - Android \u306b\u304a\u3044\u3066\u753b\u9762\u306e\u8f1d\u5ea6\u3092\u53d6\u5f97\u3067\u304d\u308b\u300cScreen.brightness\u300d","description":"\u6982\u8981 using UnityEngine; using UnityEngine.UI; public class Example : MonoBehaviour { public Text m_text; private void Update() { m_text.text = Screen.brightness.ToString(); } } Screen.brightness \u3092\u4f7f\u7528\u3059\u308b\u3068 Android \u306b\u304a\u3044\u3066\u753b\u9762\u306e\u8f1d\u5ea6\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059 \u5024\u306f 0 \u304b\u3089 1 \u306e\u7bc4\u56f2\u306b\u306a\u308a\u307e\u3059","version":"1.0","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/94867065/1535279515352365","blog_url":"https://baba-s.hatenablog.com/","published":"2019-08-27 13:00:00","url":"https://baba-s.hatenablog.com/entry/2019/08/27/130000","blog_title":"\u30b3\u30ac\u30cd\u30d6\u30ed\u30b0","author_name":"baba_s","width":"100%","provider_url":"https://hatena.blog","type":"rich"}