2013-02-03から1日間の記事一覧
List<GameObject> list = m_PathFinding.GetPath(m_Start, m_Goal); foreach(GameObject obj in list) { GridNode node = obj.GetComponent<GridNode>(); if(node.State == GridNode.eState.OnPath) { m_InfoList[node.NodeInfo.index].renderer.material.color = Color.black; } }</gridnode></gameobject>…