Quantcast
Channel: Questions in topic: "prefab connection"
Browsing all 103 articles
Browse latest View live
↧

Should I concern about RED objects in hierarchy view?

The game is running fine, and those RED objects I have in scene, are working perfectly.Should I concern if some of my scenes/levels have this "problem" ?

View Article


Can I stop the prefab connection of a gameobject during play?

Ok I'm making a FPS and I'm trying to make a script that will allow the player to pick up weapons off the floor. I do this by instantiating the weapon in front of the player and parenting the weapon to...

View Article


Pro, Free, SVN and Prefab Connection Problem

I'm experiencing a problem with my prefabs losing connections and becoming regular gameObjects while using Update within SVN on one of my machines and I'm hoping someone can shed some light. Here's my...

View Article

How can you duplicate a prefab and sever all links to the original?

I have a prefab set up (a single game object with various scripts and other components attached). I would like to create a second prefab that is identical to the first, except for the shader. What is...

View Article

Change Prefab Source/Change material on ALL prefabs in the scene

Hello everyone! I really hope someone can help me:) I have made an endless tunnel made out of different object. The player moves forward. By clicking I want to change these objects...

View Article


How to programmatically break prefab instance upon pressing Play

Is there a way to break a prefab connection in script when I hit the Play button (or when the game starts)? I'm using an asset from the asset store that does not work in play mode unless the connection...

View Article

Linking a prefab to another prefab in deep hierarchy using Inspector

I'm trying to figure out how to have some UI Screen Panels link to one another. I'm considering each screen to be a prefab, and then I've created a script that attaches on a button that will connect a...

View Article

Need a script... Search 3 Enemy objects and build MG

So hey there i looking for a script... so i will search 3 objects and when i have found it... the MG is buildet

View Article


PrefabUtility.ReplacePrefab overrides changes

Hi, I want to update a prefab programatically but somehow my changes get overwritten in the scene. When I delete a child transform in my prefabInstance in the scene and then try to update the prefab...

View Article


Loosing sprite association when transferring prefab

Hey, it is me again (GlobalGameJam forces me here today) We are currently trying to transfer some of the prefabs we build from one machine to another. A prefab in this case is a main object with some...

View Article

Creating prefab from instance of a GameObject loses materials

Hi everyone! I'm currently working on a project where we build a large world made of several tiles that I need to export in order to reimport them later on several distant devices. Each tile is made of...

View Article

Changing a broken prefabs terrain material

I'm starting to try to use prefabs and I have a problem. My prefab has a terrain in it with a simple texture. I can't seem to get only one individual instance of the prefab to change its texture to...

View Article

What does it mean to link prefabs?

I have read over some of the best practices regarding prefabs but it is all very wooly in the area around managing multiple prefabs via composition. So for example lets say you have a Player prefab,...

View Article


Breaking connection between two fbx game object

Hi, I have a fbx file of a soccer player with animations and materials. I have created two game object with it (two soccer attackers), and whenever I change one of them's materials, the other changes...

View Article

Why did TFS Source Control break my prefabs/filesystem?

Facts: - I'm working on a multiplayer game in Unity and C# - As a requirement I need TFS Express for source control and ALM services. - The TFS server is locally managed. - I have a single test scene...

View Article


Link to prefab breaks when recreating it

I have an editor extension that uses PrefabUtility.CreatePrefab() to create some prefabs. The problem is that I want to update a prefab without breaking links to that may exist in different scenes. Is...

View Article

Prefab Path Issues

I'm currently having an issue in my project where some of my objects appear to lose their prefab links when I change the absolute path of the project. As in, my project was previously at...

View Article


Break Prefab Instance does not work in Unity 5.3.2.f1

Hello, I'm trying to create 2 similar prefabs, let's say a blue block and a red block. I have created the red block, added some scrips and a shader with red color. Now I need a new block just like this...

View Article

Instances of the same prefab behaving differently

I am currently working on a dungeon game, in which the main enemies are skeletons. I have created a prefab with all the colliders, animator, script, etc. on it, but now it is not really working. By...

View Article

Making random map, how to do this well?

Hello, I'm actually making a "Isaac-like". I made a script who load all the map in my prefabs and then instantiate them with a procedural generation. I think this part is ok. But my problem come from...

View Article
Browsing all 103 articles
Browse latest View live


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