c# linq split string to list code example
Example: split list c# linq
void PoolObject()
{
foreach (Pool pool in pools)
{
characterScore.score *= Numb;
score = characterScore.score;
Instantiate(effect, Effect.transform.position, Effect.transform.rotation);
for (int j = 0; j < score; j++)
{
GameObject obj = Instantiate(pool.poolObject, Position.transform.position, Position.transform.rotation);
obj.SetActive(true);
}
}