• 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

putragonist commented

[Solved] Assigning variable without changing the value of assigned variable when the variable value is changed?

Aug 22, '16 in Help Room

1 Reply

0 Votes

avatar image

Hellium answered

Access private variable from UI Event

Nov 28, '18 in Help Room

1 Reply

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

tanoshimi commented

How to convert player controls into the sensor.

Sep 30, '13 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

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

LightningHawk2 published

How to assign GameObject used in a Custom Class?

Nov 28, '16 c#·scripting problem·classes·assign-variable

0 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

ArkaneX commented

Error writing to transform.position

Feb 11, '14 c#·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

Jason2014 answered

Assigning a variable to my label

Mar 11, '16 in Help Room

1 Reply

0 Votes

avatar image

CarlisleMiller published

Assign video in inspector via script

Dec 2, '16 c#·scripting problem·inspector·videotexture·assign-variable

0 Replies

0 Votes

avatar image

dccoo published

Variables assigned in inspector disappear in git version-control?

Jun 7, '17 inspector·variables·git·version-control·assign-variable

1 Reply

0 Votes

avatar image

dCalle edited

Narrow Prefab Selection through attached Scripts

Jan 29, '17 in Help Room

2 Replies

0 Votes

avatar image

Misthra-Games commented

Variable not assigned but is.

Apr 23, '16 in Help Room

0 Replies

0 Votes

avatar image

logicandchaos answered

Public variables are not showing in the inspector

Feb 22, '20 inspector·public variable·assign-variable

1 Reply

0 Votes

avatar image

vashtriguner published

Getting the rotation of an object from another object within a prefab.

Sep 19, '15 javascript·child·hierarchy·transform.rotation·assign-variable

3 Replies

0 Votes

avatar image

Zqweez commented

Set the same value to a new Game object as the old one?

Feb 22, '20 c#·gameobject·instantiate·assign-variable·turrets

2 Replies

0 Votes

avatar image

getyour411 commented

How to find Transform of something?

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

1 Reply

0 Votes

avatar image

Nistroy commented

Script forgets assigned Inspector variables

Apr 10, '21 c#·inspector·reference·referencing·assign-variable

2 Replies

0 Votes

avatar image

Captain_Burrito commented

Variable won't update after assignment.

Mar 5, '19 in Help Room

1 Reply

0 Votes

avatar image

trannel commented

"Variable Not Assigned" error but it is assigned

Jan 2, '21 button·menu·hierarchy·assign-variable

1 Reply

0 Votes

avatar image

unit_nick answered

Assigning a Raycast Hit to a variable

Oct 19, '17 gameobject·raycast·assign-variable

1 Reply

0 Votes

avatar image

Petkopetko answered

AudioClips cant be assigned after updating to 2020.3 fom 2019.4

May 20, '21 assets·audioclip·sounds·assign-variable·new-feature

2 Replies

0 Votes

avatar image

corn edited

Can I assign no value to a variable like Gamemaker?

Dec 26, '19 in Help Room

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

getyour411 commented

Issues using GetComponent

Apr 23, '14 function update·assign-variable

1 Reply

0 Votes

avatar image

spartacuss1011 commented

Assigning/accessing different scripts from the same spot in another script

Jun 17, '17 scripting problem·script.·tower-defense·assign-variable

1 Reply

0 Votes

avatar image

Digital-Phantom edited

Getting Error but can't see why ? (Solved)(due to own stupidity) Closed

Feb 28, '15 c#·error·build error·assign-variable·unassignedreferenceexcept

1 Reply

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