LoginSignup
0
2

More than 1 year has passed since last update.

UnityではじめるC# 基礎編改訂版の脱出ゲームで手がとまったので備忘録

Posted at

はじめに

UnityではじめるC# 基礎編改訂版を進めていく中で「脱出ゲーム-メモ帳をつくる」を脳氏で突破できなかったので備忘録

Unityのエディターバージョン
2021.3.8f1

以下が公式のドキュメント(多分)

エラー

NullReferenceException
Object refetrence not set to an instance of an object

やったこと

GameManager.cs
using TMPro;
()
buttonMessageText.GetComponent<TextMeshProUGUI>().text = mes;
()

所感

バージョンを書籍と異なるものでやっているため起こった事象。今後も気を入れて進めていきたい。

0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2