// Update is called once per frame void Update() { if (m_BeginPathFound) { m_PathFoundList = m_TileSystem.GetFoundPath(m_StartTile, m_EndTile); m_BeginPathFound = false; } }