• 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-variable

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

Torhque edited

Assign variables on Instantiation?

Mar 13, '18 in Help Room

0 Replies

0 Votes

avatar image

zakwaddington edited

It says the variable player of camera_follow has not be assigned,It says The Variable player of Camera_Follow has not been assigned even though there is no error in the script and i have already assigned the script to the camera

Aug 13, '18 assign-variable

0 Replies

0 Votes

avatar image

evil_genie published

Trouble assigning Gameobject to variable in separate object

Nov 20, '15 in Help Room

0 Replies

0 Votes

avatar image

el-mas-pro-470 commented

FindGameObject assign in a variable? help! Closed

Jan 30, '19 in Help Room

2 Replies

0 Votes

avatar image

MrPersonMan_Origins edited

Hello. I have a problem and it has to do with assigning variables to objects when they're in the camera's field of view.

Mar 7, '18 in Help Room

0 Replies

0 Votes

avatar image

lighting asked

Assagning prefab with component to component

Apr 20, '16 prefabs·components·assign-variable

0 Replies

0 Votes

avatar image

Bunny83 answered

I want to assign multiple variables without having to type the class on the side every time.

Dec 15, '18 c#·variables·class·assign-variable·assignment

1 Reply

0 Votes

avatar image

Yemnefer asked

Text Variable with a text Asset

Sep 12, '17 in Help Room

0 Replies

0 Votes

avatar image

bouviervj published

Quaternion modifed after assignment

Jul 28, '18 in Help Room

0 Replies

0 Votes

avatar image

exzizt commented

Efficiency problem during foreach cycle

Mar 27, '18 in Help Room

1 Reply

0 Votes

avatar image

SergioCut asked

How can I use a ref bool when I get: "cannot use ref or out parameter inside an anonymous lambda expression, or query expression"?

Feb 20, '21 in Help Room

0 Replies

0 Votes

avatar image

Captain_Pineapple answered

PUN2, other player's prefab not populating in assigned field in unity editor

Sep 20, '21 editor·photon·instantiate prefab·pun·assign-variable

1 Reply

0 Votes

avatar image

Genetix answered

Unity value assignment help

Aug 4, '21 variables·class·struct·assign-variable·assignment

0 Replies

0 Votes

avatar image

tanoshimi answered

instantiate a prefab and find the player who instantiated it

Jun 6, '15 networking·instantiate·assign-variable

1 Reply

0 Votes

avatar image

CarrotsDev commented

Camera do not work as a prefab

Jun 4, '21 camera·prefab·multiplayer·assign-variable

0 Replies

1 Votes

avatar image

Ghujelk commented

Referenced GameObject in inspector tracked different when set via code

Jan 13, '21 c#·inspector·camera follow·child object·assign-variable

0 Replies

0 Votes

avatar image

virendramarshall edited

how to change the value of the script which is added to the multiple object? please help..

Aug 4, '18 in Help Room

0 Replies

0 Votes

avatar image

HUA19534 asked

How can I assign a UI text and a sprite to variables?

Feb 29, '20 list·cards·assign-variable·new user·stack

0 Replies

0 Votes

avatar image

darkmoosen edited

UnassignedReferenceException when the Variable is assigned to my GameObject

Apr 22, '18 in Help Room

0 Replies

0 Votes

avatar image

ugurtunakoca edited

I can't assign Third Person Character

Aug 23, '21 in Help Room

0 Replies

0 Votes

avatar image

hukado asked

Assigning instantiated object assigns other object instead

Dec 25, '19 in Help Room

0 Replies

0 Votes

avatar image

sacredgeometry commented

Why is assignment in editor cleared on play

Apr 13, '20 editor-scripting·playmode·assign-variable

0 Replies

0 Votes

avatar image

EduNog asked

I would like to know how to edit my game in 3d unit so I can put monthly subscription in play store play console

Nov 6, '19 in Help Room

0 Replies

0 Votes

avatar image

TellusG published

Raycast goes into if statement its not suppose to?!

Apr 28, '20 in Help Room

0 Replies

0 Votes

avatar image

ilusja edited

Can not assign collider2D to the other class

Jun 17, '20 collider2d·class·assign-variable

1 Reply

0 Votes

avatar image

cloa513 asked

Should I be able to assign game objects using the inspector to variables by the pull down menu?

Jan 16, '22 in Help Room

0 Replies

0 Votes

  • ‹
  • 1
  • 2
  • 3

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Related Topics

c# inspector variable assign scripting problem gameobject variables assignment error prefab transform instantiate foreach another script editor recttransform class prefabs accessing from any script unassignedreferenceexcept hierarchy camera javascript referencing assets


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