• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges

Assign

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

Spark59op answered

How to assign Transform to prefab ? Wiki

2 days ago transform·prefab·object·random·assign

2 Replies

0 Votes

avatar image

theLameBrain edited

Cant assign global variable to method parameter variable

5 days ago variable·if-statements·assign

1 Reply

0 Votes

avatar image

mrmatt1877 answered

Change parent of GameObject C#

Dec 30, '20 gameobject·parent·assign

2 Replies

7 Votes

avatar image

OM3TRIX commented

Asign prefab to game object based on tag

Sep 26, '20 in Help Room

1 Reply

0 Votes

avatar image

OlafsOsh commented

Cannot assign the Player to the Camera automatically

Sep 13, '20 c#·camera·player·reference·assign

3 Replies

0 Votes

avatar image

vive_creative answered

The variable has not been assigned (but it has)

Aug 26, '20 inspector·prefabs·assign

9 Replies

16 Votes

avatar image

Zanamb answered

Assign material to multiple objects

Aug 23, '20 material·assign

8 Replies

3 Votes

avatar image

TommyZ_BA published

Assign material/Textures to multiple objects

Aug 20, '20 in Help Room

1 Reply

1 Votes

avatar image

dehv commented

How can I assign materials using C# code?

Aug 2, '20 material·assign

4 Replies

20 Votes

avatar image

Lolypop79 commented

How to assign a gameObject to prefab (in-game via code)?

Jul 1, '20 gameobject·prefab·assign·dynamically·to

1 Reply

0 Votes

avatar image

Hellium edited

How to assign a Rectransform and a Transform component in C#?

Jun 26, '20 c#·transform·recttransform·assign·assign-variable

1 Reply

0 Votes

avatar image

Ridderhaspels published

Assign large amount of animations to unique objects

May 20, '20 animation·import·animator controller·assign

0 Replies

0 Votes

avatar image

Florian-Nouviale answered

Is there a way to assign variables before Awake() is triggered

May 19, '20 in Help Room

3 Replies

0 Votes

avatar image

eni_cay edited

assign ui panel to a prefab object ?

Dec 12, '19 ui·prefabs·runtime·assign

2 Replies

0 Votes

avatar image

matasoy commented

Adding animation for object to timeline at runtime

Dec 8, '19 runtime·animationclip·timeline·assign

1 Reply

0 Votes

avatar image

nikimiaus published

How to assign GameObject to a instantiated prefab via Script(C#)?

Nov 30, '19 instantiate·prefab·assign

2 Replies

1 Votes

avatar image

GrayLightGames commented

How do I assign the main camera to a variable? Closed

Oct 30, '19 c#·variable·assign·camera.main

2 Replies

0 Votes

avatar image

sukhan2000 commented

Reassign Variable Value C#

Aug 1, '19 c#·variables·assign

2 Replies

1 Votes

avatar image

dom_cobb_22 answered

How to start looped code (like that in Update()) from the area that runs once?

May 10, '19 start·assign·repeating

1 Reply

0 Votes

avatar image

tormentoarmagedoom commented

Instantiate multiple objects that follow the FirstPersonController

May 2, '19 instantiate·assign

1 Reply

0 Votes

avatar image

TortoRacoon commented

Can't assign camera to variable.

Apr 30, '19 camera·variable·switch·assign

1 Reply

0 Votes

avatar image

xxmariofer answered

Assigning instantiated objects to a List of a Toggle button

Feb 20, '19 instantiate·assign·toggle button·attachment

2 Replies

0 Votes

avatar image

lochan_vishwanath commented

how do I assign a prefab's child to another prefab's script's public variable?

Feb 11, '19 scripting problem·prefab·prefabs·assign·assign-variable

1 Reply

0 Votes

avatar image

pako commented

how to re-assign transform/rigidbody at runtime ?

Feb 3, '19 rigidbody·transform·script.·assign·with

0 Replies

0 Votes

avatar image

Oliversgame asked

How to assign Sprite in the inspector?

Jan 8, '19 gameobject·sprite·find·assign

0 Replies

0 Votes

avatar image

Ozy23 asked

Shader Properties gone everytime i put specular/Roughness map to Standart Shaders

Jan 6, '19 in Help Room

0 Replies

0 Votes

avatar image

MarekJones commented

How to assign my players transform to an Instantiated object?

Dec 15, '18 in Help Room

0 Replies

0 Votes

avatar image

Elecman answered

How to make unity, auto assign shader and texture correctly?

Oct 26, '18 texture·bug·slow·assign

2 Replies

0 Votes

avatar image

Torqus edited

How do I link a TMpro to a variable in another scene?

Sep 12, '18 scene-loading·textmesh·scenes·dontdestroyonload·assign

0 Replies

0 Votes

avatar image

bouviervj published

Quaternion modifed after assignment

Jul 28, '18 in Help Room

0 Replies

0 Votes

  • 1
  • 2
  • 3
  • 4
  • 5
  • ›
  • »

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Related Topics

variable c# gameobject prefab material instantiate transform variables inspector value texture assign-variable object reference runtime error button array prefabs string javascript rigidbody objects gui scripting problem


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges