poolOppsPlanes = Instantiate(OppsPlanes[ii], Vector3(0, 100, 0), Quaternion.identity); dummy = poolOppsPlanes*;* other = dummy.GetComponent(OppsPlanes); other.ID = i; other.FallAsleep(); poolOppsPlanesActive = false; Now I have to assign another variable “other” (e.g. "other2) This would go on until “other15”. Do I really need to assign so much variables or can I use the same vaiable moreoften (to free it, re-assig it or so)? Thank you, Ulrich
“var other;” is a problem…always declare the type, either explicitly or implicitly by using a value. Whenever you have multiple variables that indicates you should be using a collection like an array.