|
I'm thinking about how I'll do a transformation which would involve a Character Prefab switching with Another Character Prefab, but done so in a way it looks like the Play Prefab transformed, and I'm curious if I switch them quick enough will any scripts trying to reach them be affected or will they just find the new one? Example: Obviously they'd be a little more in depth but is this possible or do I have to create a variable saying that if they're switching than don't look for them? Hard to explain I know but if I got through to anyone please tell me if it's possible.
(comments are locked)
|
|
You can keep the prefabs under the same parent object and enable disable them based on the mechanics you want. And in the switch it will go too fast for anything to notice?
Jul 20 '11 at 03:30 PM
Xatoku
if both player looks the same nobody will see it. is a fast action to enable or disable a game-object. You have to take a look in your start() and Awake() function so that if the player is enabled he does not need some extra time to initialize.
Jul 20 '11 at 03:35 PM
fffMalzbier
This would probably be the best solution
Jul 20 '11 at 04:20 PM
J3 Gaming
(comments are locked)
|
