Hey there,
All you need to do is store your ID within tags assigned to your individual GameObjects like so: `gameObject.tag = ID;` and then use [GameObject.FindGameObjectsWithTag()][1] to find your GameObject: `GameObject.FindGameObjectsWithTag(ID);`
Hope that helps! :)
Klep
[1]: http://docs.unity3d.com/Documentation/ScriptReference/GameObject.FindGameObjectsWithTag.html
↧