• 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

THECAKEISALIE93 commented

Why did my Transform Component stop using degrees for rotation

Apr 21, '14 assign-variable·open project·vector3.project

2 Replies

0 Votes

avatar image

eeveelution8 answered

reference an object without pre-assigning.

Apr 13, '14 getcomponent·function update·assign-variable·transform.

2 Replies

0 Votes

avatar image

Mikael-Gyth commented

GUI.DrawTexture and assign it to a variable?

Apr 15, '14 gui·guitexture·assign-variable

1 Reply

0 Votes

avatar image

getyour411 converted comment to answer

Game-wide Variables

Mar 25, '14 assign-variable

1 Reply

0 Votes

avatar image

ArkaneX commented

Error writing to transform.position

Feb 11, '14 c#·assign-variable

1 Reply

0 Votes

avatar image

_Keagan commented

Why does Unity3D encourage use of public variables instead of setters/getters? Closed

Dec 28, '16 inspector·properties·assign-variable

1 Reply

2 Votes

avatar image

Thebardstale commented

How to declare multiple variables using a for loop in class declaration?

Jan 30, '14 class object·assign-variable·class instance

0 Replies

1 Votes

avatar image

Eric5h5 edited

Assign voids/functions in inspector?

Jan 29, '14 item pickup·assign-variable

1 Reply

1 Votes

avatar image

getyour411 commented

How to find Transform of something?

Jan 29, '14 prefab·assign-variable·transform.

1 Reply

0 Votes

avatar image

Sildaekar commented

Storing a game object in a variable at runtime.

Mar 10, '14 gameobject·change·assign-variable

1 Reply

0 Votes

avatar image

Distant-Object published

Varying number of variables depending on power type?

Jan 14, '14 array·class object·assign-variable·class instance

0 Replies

0 Votes

avatar image

ZeuX commented

How to assign a instantiated gameobject to other script of gameobject

Jan 12, '14 assign-variable·another script

1 Reply

0 Votes

avatar image

ThorntonArtStudio commented

Assign the camera to a variable in a prefab

Nov 4, '15 assign-variable

0 Replies

1 Votes

avatar image

sath edited

Can I attach the Main Camera to two scripts?

Jan 5, '14 camera·assign-variable·another script

1 Reply

0 Votes

avatar image

MattRix answered

Assign an object to a component in editor programmatically

Oct 28, '14 editor·start·assign-variable·onenable·editor extention

1 Reply

0 Votes

avatar image

Saad_Khawaja published

How to make a Label a variable

Dec 12, '13 assign-variable

1 Reply

0 Votes

avatar image

Fornoreason1000 edited

Assign GUI element to variable

Dec 6, '13 ui·4.3·assign-variable

2 Replies

0 Votes

avatar image

chillersanim edited

How to call variable from java script to c# Script? :(

Dec 6, '13 variable·calling·assign-variable·java to c#

2 Replies

0 Votes

avatar image

meat5000 edited

Calling a variable from a different script

Nov 21, '13 accessing from any script·assign-variable

2 Replies

0 Votes

avatar image

peterpunk commented

Setting public variables by dragging: diverse results

Oct 16, '13 c#·assign-variable·types

1 Reply

0 Votes

avatar image

AndyMartin458 commented

Is it possible to delete member variable? C#

Oct 4, '13 c#·assign-variable

2 Replies

2 Votes

avatar image

tanoshimi commented

How to convert player controls into the sensor.

Sep 30, '13 assign-variable

1 Reply

0 Votes

avatar image

BrinkHouseGames published

unassignedreferenceexception - script used in multiple scenes

Sep 13, '13 scene·assign-variable·unassignedreferenceexcept

0 Replies

0 Votes

avatar image

aldonaletto commented

Error assigning to a variable

Sep 12, '13 c#·error·foreach·assign-variable

1 Reply

0 Votes

avatar image

meat5000 edited

Error assigning to a variable Closed

Sep 10, '13 c#·error·foreach·assign-variable

0 Replies

0 Votes

avatar image

Benifir asked

Error assigning to a variable Closed

Sep 10, '13 c#·error·foreach·assign-variable

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