もう夏本番になってきましたね。 というわけで、今回はちょっと怖い話をしていこうと思います。 これは友達の友達から聞いた話なんですが……。 この記事にはUnity2017.1.0f3を使用しています。 冒頭 不滅 成仏 感想 冒頭 あるところにMonoBehaviourを使ったシングルトンクラスがいました。 using UnityEngine; public class Singleton : MonoBehaviour { [SerializeField] private int m_number = 0; public int Number { get { return m_number; } } public static Singleton Instance { get; private set; } private void Awake() { if( Instance != nu