Quantcast
Channel: Questions in topic: "attach"
Browsing all 168 articles
Browse latest View live

How to attach a GameObject to a Prefab that has many scripts attached?

In my case the user can upload a 3D model (.fbx). Each uploaded model should contain the same scripts, in my case the scripts ensure that the user can rotate, scale and move the model. Das 3D Model...

View Article


How does Visual Studio recognize Unity Classes and Namespaces?

My first intuition was that Visual Studio recognizes certain classes and namespaces based on the files in the Solution Explorer, yet I can type a class or namespace in the C# file and Intellisense will...

View Article


Attach player to object and disable player movement

Hi! I have tried to make a script that attaches a player to a vehicle / object and disables the player's movement, e.g. by disabling the Character Controller Component. The player doesn't have a...

View Article

Attach gameobject to either left or right side of another gameobject -...

Hi All - I have a use case where in I need to maintain the list of gameobjects , its state and control gameobjects accordingly. To keep it simple, below I have given some simple example which is almost...

View Article

Magnetic effect or similar to attach object to player

![alt text][1]Hello beloved community I am making a game where the player steers a rocket through different levels without colliding. During the journey, the rocket can be upgraded with modules. One is...

View Article


Attaching Audio source to script variable at runtime

I have two audio sources attached to a game object with various scripts. After a user selects a song, I want to use script A to attach the corresponding audio source to script B's variable. So far I...

View Article

Find file in Unity folder and attach at runtime

I have a game object with a script A that has variables. I want to use script B to find a file in my Unity project folder and attach that file to a a variable in Script A. I am new to Unity, so any...

View Article

How to make object follow another object by scaling his size,how to make an...

I want to scale an object in Unity based on the position of another object, in other word I want the cube to keep following the the second one by scaling in z scale ,were the first cube is attached to...

View Article

Browsing all 168 articles
Browse latest View live


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