{"version":"1.0","author_url":"https://blog.hatena.ne.jp/rick1208/","type":"rich","height":"190","provider_url":"https://hatena.blog","url":"https://www.momino1234.com/entry/2026/03/13/074312","author_name":"rick1208","provider_name":"Hatena Blog","width":"100%","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/r/rick1208/20260309/20260309082214.png","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.momino1234.com%2Fentry%2F2026%2F03%2F13%2F074312\" title=\"\u3010unity\u3011\u30cf\u30a4\u30b9\u30b3\u30a2\u8868\u793a\u3092\u4f5c\u308b\u3001\u4fdd\u5b58\u3059\u308b\u65b9\u6cd5\u3010\u30b3\u30fc\u30c9\u3001\u6700\u9ad8\u8a18\u9332\u3001\u6b21\u56de\u30d7\u30ec\u30a4\u3067\u3082\u6b8b\u308b\u3011 - \u8d64\u5742\u30ae\u30c9\u30a6\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u672a\u7d4c\u9a13\u3067\u30b2\u30fc\u30e0\u3092\u4f5c\u308b\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u8d64\u5742\u30ae\u30c9\u30a6\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u672a\u7d4c\u9a13\u3067\u30b2\u30fc\u30e0\u3092\u4f5c\u308b","published":"2026-03-13 07:43:12","blog_url":"https://www.momino1234.com/","title":"\u3010unity\u3011\u30cf\u30a4\u30b9\u30b3\u30a2\u8868\u793a\u3092\u4f5c\u308b\u3001\u4fdd\u5b58\u3059\u308b\u65b9\u6cd5\u3010\u30b3\u30fc\u30c9\u3001\u6700\u9ad8\u8a18\u9332\u3001\u6b21\u56de\u30d7\u30ec\u30a4\u3067\u3082\u6b8b\u308b\u3011","categories":[],"description":"\u30cf\u30a4\u30b9\u30b3\u30a2\u306f PlayerPrefs \u3092\u4f7f\u3046\u3068\u7c21\u5358\u306b\u4fdd\u5b58\u3067\u304d\u307e\u3059 \ud83d\udc4d Unity\u3092\u9589\u3058\u3066\u3082 \u30b9\u30b3\u30a2\u304c\u6b8b\u308a\u307e\u3059\u3002 \u2460 GameManager\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5909\u66f4 using UnityEngine; using TMPro; public class GameManager : MonoBehaviour { public static int score = 0; int highScore; public TextMeshProUGUI scoreText; public TextMeshProUGUI highScoreText; void Update() { scoreText.text \u2026"}