Hi all Unities,
Could any one please write to show me how to make the camera recapturing the respawned objects? I were using the camera swtching method ( or codes ) from the 2D gameplay tutorial which downloaded from the Unity3d official website but it appears that I could only using it for instant object that before the game is actually playing then if I used it on the respawned objects it wouldn't function as expected so any high help appreciated and please?
Regards, Unity4DNoob.
the variable was "targets:Transform[]" so since it's array maybe bcos I am noob so not that efficiency on array coding but wondered if Unity handling array effectively? lol redo again...
– BSVALVEi guess there should be an index that keeps the main target like targets[index], try changing the value from where is set, also you can check if they render.enabled is true, just in case
– poncho