/************************************************** * 画面の切り替え:MyConsole Canvas **************************************************/ void ChangeToMyConsole() { CanvasDictionary[0].SetActive(false); CanvasDictionary[2].SetActive(true); CanvasState = 2; if (myconsole_Delete) { myconsole.Delete(); myconsole_Delete = false; } foreach (object message in myconsole_Buffer) { myconsole.Add(message); } myconsole_Buffer = new List <object>(); }