public void set(GameObject gObj) { go = gObj; name = (GameObject.Name)go.getName(); index = go.getIndex(); }