[SOLVED]Deletion of instantiated clones not in order
There is a similar question I did read through, but my situation may differ a little (not to mention I believe it was in java code and I am using c#). I am new to Unity (1 week in) and I am creating...
View ArticleCreate a clone without components at runtime
Hi, how can I create a clone of my GameObject at runtime, but without any "Behaviour". Let's say I have a helicopter, with lots of components that do their own job: rotate the rotor, fly, control the...
View ArticleCloned object has not materials/textures
Hi, I am using the [Runtime OBJ Importer][1] to load a set of OBJ files at runtime. This imports the models complete with textures with out any issues for the initial loading of each model. However...
View ArticleMario Powerups Switching problem,Mario PowerUps Switch problem
Hello, my name is Reno. I am a beginner in programming and I want to program a game. My first game is a Mario Clone. I programmed it so that there is a game object for each powerup form. Each time...
View ArticleHow do I instantiate only ONCE?
Hi, I've looked everywhere for 'instantiate only once' and nothing has worked for me. Why does spawning in update, even with a bool, spawn clones on clones on clones? What I need: To create a ripple...
View ArticleHow to destroy the clone that I click on Unity 2D
I am trying to instantiate multiple clones of an object, and when I click on one of the clones, that specific clone is destroyed. I am able to instantiate one clone and then click on that clone and...
View ArticleWhat is the best way to draw for a platformer?
I am new to Unity, and for my game I want to make a platformer where the player has to draw the floor for the character to run on. I have already started using a prefab that clones itself rapidly to...
View ArticleSyncing animations.
Can i fetch keyframe information of Animation1 and set the key frame on Animation2 to the same key so i get two synchronizes animations even if Animation2 is instantiated later.
View ArticleCharacter Transform
Hello I’m a newbie into the Unity3D world. I have a question and hope someone can help. Does anyone know about changing a character to another character in C#? I’m trying to make my game where you are...
View ArticleErrors after cloning the project [question updated]
Hello, My computer's HD has broken so I bought a new one installed unity and sourcetree and cloned my project from git. When I opened it I got the erros on the image, I couldn't solve it yet, does...
View ArticleMissing reference exception in Unity after instantiating multiple GameObject...
I am currently making a Breakout style game and have 2 "Power-ups" that are giving me some trouble. I have a double-ball and triple-ball power-ups that instantiate 1 or 2 extra balls from an original...
View ArticleHow to destroy a clone of an effect attached to an object?
I want to use some particle effects into a bonus object that will be destroyed upon contact with the player object. This object as its name suggests will add a certain benefit for the player for a...
View ArticleChange tag on clones
Hi together, I have five identical Mercedes cars which drives on five different path at the same time. I want to change the tag of the car: when its defined on path1, the tag of the car should be...
View Articlechange tag for clone-prefab from another script
Hi together, how do i change the Tag of a clone-prefab (for example Mercedes_BLUE) from the Initiator Script? I wrote: if (this.gameObject.name == "PathA") { Vehicles[5].tag = "Car2"; } but it does...
View ArticleUnity 2D : How to make a perfect clone of my Game Object?
Hello I have a gameobject rock in my game scene and I cloned it and made it appear in the same position after it exits the game scene by using OnBecameInvisible but the problem I am facing is that...
View Articlestrange cloning array beviour
had a strange thing happen in Unity 18.1.6f1 two int arrays seemed to be duplicates of each other and when accessing the first the second would also update with the same ints even though i never set it...
View ArticleUnity 2D: How can i delay my clone for few seconds?
Hello everyone So i am cloning my gameObject(Rock) and i want it to wait a few seconds(3-4) everytime it spawns. Either wait for few seconds after spawning or spawn after few seconds when it exits the...
View ArticleFruit ninja course
I'm following a course in the udemy website. Earlier my project could not destroy the fruit by making them disappear. Now I succeeded and found that the codes given by the tutorial were not properly...
View ArticleHow to clone randomly 2
I know I did this before but most people look at newer posts and I want to hear what other people want to say. I have a 3d game where you drag things off the world but I need a cloner that clones my...
View ArticleSaving Instantiated objects,Saving Instantiated objects
Hey, so I'm basically working on this idle type of game. Over time I use Instantiate to clone in some prefabs. The problem is once I reload the scene, all of the object are gone, is there some way that...
View Article