• 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

Fixes in upcoming releases of Unity Answers

Using a good tone of voice when replying to posts

Requests for new tags/topics

How to use the META space

How to use the Moderator space

Questions in topic: variable

  • Unanswered Questions
  • Recommended Questions
Once you sign in you will be able to subscribe for any updates here
avatar image

altropetrolio answered

List suddenly auto-clear after WebRequest (in another Script)?

Dec 25, '20 in Help Room

1 Reply

0 Votes

avatar image

lvskiprof answered

Text UI is not being assigned

Dec 22, '20 ui·text·variable·string·float

2 Replies

0 Votes

avatar image

pokecano commented

value of another script not being read?

Dec 18, '20 script.·variable·reference·values

0 Replies

0 Votes

avatar image

dahal2871 answered

Is it possible to show Static Variables in the Inspector?

Dec 17, '20 prefab·variable·inspector·static·oafa

10 Replies

23 Votes

avatar image

Dracolyte published

PlayerPrefs doesn't apply value, even if i set the value with the saved PlayerPrefs

Dec 16, '20 variable·playerprefs

0 Replies

0 Votes

avatar image

rhapen answered

Variable should have a value but if i start the game, the value resets to 0

Dec 16, '20 variable·playerprefs

1 Reply

0 Votes

avatar image

islesofurth commented

GetComponent returning null with no errors

Dec 7, '20 in Help Room

1 Reply

0 Votes

avatar image

vanesamoreno41 published

show sync var on two text ui (unet - networking)

Dec 2, '20 ui·networking·text·variable·sync

3 Replies

0 Votes

avatar image

Sull08 published

script problems

Dec 2, '20 in Help Room

0 Replies

0 Votes

avatar image

bobbaluba edited

How do I make serializefield/public readonly in the inspector, but so that I can still access variables in other scripts?

Nov 30, '20 variable·serializefield

1 Reply

0 Votes

avatar image

tXxy asked

Attach a value to an instantiate object and call it in the class of this object

Nov 25, '20 instantiate·variable·class·passing

0 Replies

0 Votes

avatar image

nitrogames79 answered

changed variables in script not being saved

Nov 18, '20 in Help Room

1 Reply

0 Votes

avatar image

Dramaticmazerunner asked

How to get the players CPS

Nov 16, '20 c#·variable·unityeditor

0 Replies

0 Votes

avatar image

GardenfiendGames commented

Script variable reverted to prefab when hit play.

Nov 11, '20 prefab·variable·serialization

1 Reply

2 Votes

avatar image

oigetinthevan answered

NullReferenceException: Object reference not set to an instance of an object

Nov 7, '20 variable·static·null reference exception

4 Replies

0 Votes

avatar image

alphaemu published

Need Distance-Based Score Multiplier For Multiple Assets (Typing Rhythm Game)

Nov 2, '20 in Help Room

0 Replies

0 Votes

avatar image

unity_UDFOHkLYjHpdwA commented

Raycast object tag check?

Oct 29, '20 gameobject·raycast·variable·tag

3 Replies

2 Votes

avatar image

theBdrive commented

How to use variable in MailMessage To?

Oct 28, '20 c#·variable·variables·string·mail

1 Reply

0 Votes

avatar image

jilermo123 published

Why when I write variables outside of functions they work fine but when I translate them inside a function they don't work?

Oct 27, '20 in Help Room

0 Replies

0 Votes

avatar image

ClumsyCaden commented

How do I change variables at collision with Player? Please Help.

Oct 17, '20 collision·player·variable·item

1 Reply

0 Votes

avatar image

hendryshaikh2004 commented

Using a variable as a components for Vector3

Oct 16, '20 vector3·variable·float·convert

1 Reply

0 Votes

avatar image

hendryshaikh2004 edited

use string to search in script

Oct 15, '20 c#·variable·reference·automatically

1 Reply

0 Votes

avatar image

baselasad commented

update() keeps getting called with variable's old (initial) value, why wont the variable keep updated?

Oct 11, '20 c#·variable·ontriggerenter·update function·ontriggerexit

1 Reply

0 Votes

avatar image

N-8-D-e-v commented

controlling the increment in the variable Closed

Sep 27, '20 variable·int·increase

1 Reply

0 Votes

avatar image

vivaanbradoo1 commented

Acces variables from script that is on multiple objects

Sep 27, '20 variable

2 Replies

0 Votes

avatar image

floppyturtle32 commented

Random variable values?

Sep 25, '20 3d·variable·random·floats

2 Replies

0 Votes

avatar image

weissj97 asked

Inspector value changed automatically to an old value on runtime

Sep 23, '20 in Help Room

0 Replies

0 Votes

avatar image

BenWiller1989 answered

Custom inspector. Pick one bool from a list.

Sep 18, '20 in Help Room

1 Reply

0 Votes

avatar image

Musicboi published

How to make sure an object is at a certain position when a float has a certain value?

Sep 16, '20 in Help Room

0 Replies

0 Votes

avatar image

harethtvalomer answered

variable increments multiple times !

Sep 13, '20 c#·variable·increment

0 Replies

0 Votes

  • »
  • ‹
  • 2
  • 3
  • 4
  • 5
  • 6
  • ›
  • »

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.

Follow This Topic

Follow This Topic

Follow by RSS

14 People are following this topic.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Popular Topics

c# animation android unity 5 camera 2d rotation javascript scripting problem collision ui gui error shader movement gameobject physics rigidbody editor ios texture networking raycast instantiate collider transform terrain mesh prefab input
View all

Recent Badges

  • Notable Question   MrJBRPG
  • Famous Question   N00MKRAD
  • Famous Question   A_Lego
  • Notable Question   AngeloDon
  • Popular Question   PvTGreg
  • Editor   johnathan080908
  • Notable Question   jfielding74
  • Nice Answer   ItsTwelveOclock
  • Notable Question   xiaolinl
  • Famous Question   Jake398


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