|
When i have two meshes renderers as child of a empty object, how to define the main object with the mainTexture, when i call
I'd like the object "Top" has the mainTexture. The mesh is exported from 3ds Max (fbx). Can anyone help me?
(comments are locked)
|
|
If it's attached to the parent you can address a specific gameobject using either way: 1.If children are already there before running the game you can simply define a gameobject variable and assign the child to it.
2.Use this way if your children are dynamically being added or removed and also if you know their names. I need to do this dynamically, and this solution works perfectly, thanks!
May 15 '11 at 03:20 PM
drigobarros
(comments are locked)
|

