void Start() { var configuration = ConfigurationXml.Load(); manager = GameObject.Find("GameManager"); manager.GetComponent <MazeBuilder>().ChargeMaze(); int c = 0; foreach (GameObject tile in manager.GetComponent <MazeBuilder>().m_Maze) { m_Tiles[c] = manager.GetComponent <MazeBuilder>().m_Maze[c].GetComponent <TileManager>(); c++; } m_StartWait = new WaitForSeconds(m_StartDelay); m_EndWait = new WaitForSeconds(m_EndDelay); /*prueba.color = Color.red; * prueba.text = "" + turno;*/ puntosRaton = 0; puntuacion.text = "" + puntosRaton; duracionTurno.text = "" + segundosTurno.ToString("f0"); }
public void Load_ShouldShowWarning_ForUnknownAppender() { mXmlDoc.LoadXml("<?xml version=\"1.0\" encoding=\"utf-8\"?><log4net><appender></appender></log4net>"); mSut.Load(); mToastService.Received(1).ShowWarning("At least one unrecognized appender was found in this configuration."); }