void ChangePos(List<Vector2> pointss, GameObject temp)
{
for (int i=0; i<pointss.Count; i++)
{
StartCoroutine(ExecuteAfterTime(1, i));
}
}
IEnumerator ExecuteAfterTime(int second, int incr)
{
yield return new WaitForSeconds(second);
temp.transform.position = pointss[incr];
}