• 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

Variable

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

Ashmit2020 answered

Is it possible to insert a static variable into a text component's text field without using a script to do so?

Feb 5, '21 variable·string

1 Reply

1 Votes

avatar image

Eclipse23 published

String Variable Not Changing From Starting Value,

May 3, '21 in Help Room

0 Replies

1 Votes

avatar image

critterawesome commented

SystemBase ECS unity doesnt let me acess NativeMultiHashMap because it isnt readonly?

Jun 4, '21 variable·static·dots·readonly

2 Replies

1 Votes

avatar image

CrystalCaveDevWB asked

(Bolt) Application variable resetting on scene change

Jul 30, '21 gui·variable·audiosource

0 Replies

1 Votes

avatar image

djpitris commented

While something is reoccuring keep value the same

Aug 11, '21 variable·loop·wait

2 Replies

1 Votes

avatar image

tddaniels asked

Does Unity Netcode/mlapi NetworkLists sync delta changes or the entire list when a value changes?

Feb 26, '22 multiplayer·network·variable

0 Replies

1 Votes

avatar image

wallstop answered

Can't initialize NetworkVariables with NetCode for GameObjects Unity 2020.3.31f1

Apr 14, '22 error·networking·variable

1 Reply

1 Votes

avatar image

Xatoku asked

Static, yet Private, Variables?

Mar 2, '11 variable·static

1 Reply

0 Votes

avatar image

Chris D commented

How can I assign a GameObject to a variable at runtime?

Jul 4, '11 gameobject·variable·runtime·assign

0 Replies

0 Votes

avatar image

mksnell commented

Set variable in script from a different script...

Mar 8, '18 gameobject·variable·set·different

3 Replies

0 Votes

avatar image

Bunny83 commented

Can someone list every possible basic variable?

Aug 19, '15 variable·beginner·reference·newbie

3 Replies

0 Votes

avatar image

darkcookie commented

how to define a variable?

Jun 16, '11 variable·createprimitive

1 Reply

0 Votes

avatar image

Illogical-Ironic edited

getComponent not working with Triggers? Closed

Aug 31, '11 trigger·variable·getcomponent·ontriggerenter

1 Reply

0 Votes

avatar image

Bones20 commented

Using a button to select an object set as a variable.

Oct 17, '11 object·game·variable·selecting

2 Replies

0 Votes

avatar image

Eric5h5 edited

String to Var

Dec 17, '11 gui·variable·string·convert

2 Replies

0 Votes

avatar image

Winterblood answered

HELP! is this a Bug in the game engine?

Jan 3, '12 error·bug·variable·inspector·assign

1 Reply

0 Votes

avatar image

davedx answered

How do I assign script as a variable in the inspector?

Mar 19, '12 variable·inspector·monoscript

1 Reply

0 Votes

avatar image

Wolfram commented

Hide public field on base class but show it on derived class

Jun 17, '12 editor·variable·inspector

1 Reply

0 Votes

avatar image

rage_co commented

what is a boolean

Aug 17, '21 variable·how·booleans

3 Replies

0 Votes

avatar image

clunk47 commented

Making a var appear on click

Dec 13, '12 variable·function·onmousedown·enabled

1 Reply

0 Votes

avatar image

davidc commented

Error on my javascript code

May 2, '13 javascript·variable·function·sendmessage

1 Reply

0 Votes

avatar image

Eric5h5 commented

Pass a function(float) as variable

Jul 7, '13 variable·function·int·pass

2 Replies

0 Votes

avatar image

clunk47 commented

Random number on game start for a variable

Jul 17, '13 variable·random·numbers

1 Reply

0 Votes

avatar image

vexe commented

What is the problem with this code?

Oct 21, '13 javascript·error·vector3·variable

1 Reply

0 Votes

avatar image

clunk47 converted comment to answer

Accessing another var on another script Closed

Dec 21, '13 javascript·variable·static·accessing

1 Reply

0 Votes

avatar image

HappyMoo commented

Set a String Global variable value

Jan 3, '14 animation·variable·string·global script·public strings

2 Replies

0 Votes

avatar image

ArkaneX answered

Change values of variables in System.Serializable

Jan 7, '14 c#·variable·serialization

1 Reply

0 Votes

avatar image

Juwairia_ commented

Death Counter Resets When Reloading Scene.

Apr 27, '20 c#·scene·variable·static·reset

3 Replies

0 Votes

avatar image

Mikael-Gyth edited

How to call a variable that was defined in FixedUpdate in javascript

May 1, '14 javascript·variable·function

1 Reply

0 Votes

avatar image

unimechanic converted comment to answer

Shooting while reload anim os playing

Oct 6, '14 c#·variable·boolean

1 Reply

0 Votes

  • »
  • ‹
  • 9
  • 10
  • 11
  • 12
  • 13
  • ›

Followers

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

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# javascript gameobject scripting problem variables static function array instantiate prefab getcomponent inspector string error class gui value reference access int script. boolean float public assign


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