Like Eric5h5 mentioned, you have to set an Transform as a parent, not a Gameobject, like your hands variable. Do something like:
currenthand.transform.parent = hands.transform;
But I don't think you can set the parent of an Gameobject like that anymore. You have to do:
currenthand.transform.SetParent( hands.transform );
↧