private void PosCheck() { if (m_nextPos.CalDis(transform.position) == 0) { //ウェイポイントに着かなければ移動を継続する m_moving = false; } else { m_moving = true; } }