Quantcast
Channel: Questions in topic: "clone"
Browsing all 508 articles
Browse latest View live
↧

Candy Crush tutorial

Does anybody know where to find any good candy crush or bejeweled tutorials for unity are? I have been looking for a while and cant seem to find any good tutorials. I do not wish to purchase any...

View Article


Random ball generator?

Hello, I need help creating a game. I want to have a character on the bottom of the screen of my 2D game, and I want balls to be spawned randomly from the left and right walls. Now, everything is good...

View Article


Can I duplicate folder with internal dependencies between objects?

Hi guys! I have a folder with some prefabs, materials, textures and etc. Prefabs refers to textures in this folder. Can I clone this folder with saving local dependencies? For example: Folder is named...

View Article

Destroy one prefab clone of set of clones.

To be more specific, is there a way to destroy a certain clone from a list of clones? My problem is that I have 5 HousePrefab(Clone)s in my scene, I placed them using raycast, say I only wanted 4 and I...

View Article

Script finding a none-existing player clone

Hi! I am making a simple player follow script and it is not working. When I checked what it is finding, it is finding "Player(Clone)". There is no clone in the scene or in the prefabs. Why is it doing...

View Article


How to have a mini camera of my scene

Hi, i want to know if is possible to have a cloned reduced view of my main camera in another camera positioned in a small box in left bottom corner of my scene. How could i clone the main camera view...

View Article

Cloned Object does not run Scripts

Good day for all. Well, My point is: I have created a simple GameObject which has a Renderer with a Single Sprite. No Animations, no magics, not fancy... OK. Secondly, i“ve created a C# Script. The...

View Article

Script cannot find component after mecanim change

Hey all, weird one here. I have a player prefab, just canabalized some code to make a simple movement function. It worked fine, player moved as expected. I was playing with mecanim transitions,...

View Article


Prefab clone not working

Hi everyone, Im very new to unity and I am trying to create 5 of the same game object using a prefab but for some reason it does not work. (http://docs.unity3d.com/Manual/InstantiatingPrefabs.html iv...

View Article


GameObject size center of the screen

I'm downloading 3d model dynamically using Obj Reader and displaying in the scene but sometimes model showing too small and too big. I can't place in center of the screen for all the model. How to do...

View Article

Clones AddForce individual

Hello! I spawn enemie's balls from spawn scrip and I want to move every ball to different direction, but when I'm using rigidbody2D.AddForce for clones, the are moving the same direction whith every...

View Article

Moving a transform behaves odd

Working on a 2D game. So I have a Unit object prefab. The unit has a child object with a GUITexture (it's health bar) I move the health bar guitexture if the unit moves like so: public void LateUpdate...

View Article

transform.position assign attempt for 'Cubie' is not valid. Input position is...

![alt text][1] So here's some background information, I am trying to create this explosion effect of "cubie's". I have one object called enemy that when he collides with a bullet it destroys itself and...

View Article


Access terrain alphamaps directly? To clone them?

How do you clone a terrain's alphamap? It's inaccessible according to unity intellisense? In case anyone reading this doesn't understand: setalphamaps() changes all clones of the terrain. Not just the...

View Article

Destroy One Child, Not All

I have three Scripts Script One Game Manager: SIMPLY(Guitar Hero Like Game) 4 Tubes, 4 Spawnners and 4 receivers Each tube has an Inactive atom parent over the Spawnners which has a variable spawnner...

View Article


Destroy instance clone of gameobject

I am creating a small interaction where you click on a table and a small animation plays in response. What I'm getting caught up on is that when I instantiate the click I cannot rid the click object...

View Article

Destroy 1 prefab object and changing the color/image

I want to destroy a created prefab (not all the prefab) and change the color or creating a new prefab on it. I figure out how to create a new image by using Instantiate on the destroyed position and/or...

View Article


FindGameObjectsWithTag returns extra prefabs nowhere in the hierarchy

This is brand new to me. Double-clicking a clone does bring it in focus in the inspector, in which it only has one component out of a bunch and everything is greyed out. Sometimes it doesn't happen,...

View Article

Assign components to Clone objects

I have a Camera object that needs to follow my player (to create a Mini Map). I'm using code from the Photon Viki Demo to spawn players, and it what it does is it creates clones in the Hierarchy ex:...

View Article

how do you to resolve this unity message

Can“t add component "rigidbody", game object is generatede prefab and only be modified through an assetpostproccesor.

View Article
Browsing all 508 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>