void DestroyLoopEnter() { foreach (int nodeIndex in spawnInfo.GetNodeIndecies()) { loop.GetNode(nodeIndex).SetStatus(Node.enum_status.idle); loop.GetNode(nodeIndex).InitializePosition(); } Destroy(gameObject); }