• 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

Unanswered Questions

  • All Questions
avatar image

PH-zero asked

How to make a var "global"

Jan 18, '13 variable·static·global

0 Replies

0 Votes

avatar image

$$anonymous$$ published

Display GUI texture on specific variable value?

Sep 29, '12 gui·texture·variable

0 Replies

0 Votes

avatar image

robertbu commented

How do you change a variable in a script, that is on an object instantiated from a prefab?

May 7, '14 2d·javascript·collision·variable·noob

0 Replies

0 Votes

avatar image

ArkaneX commented

set up identifier name on the fly

Feb 3, '14 variable·name·identifier·unknown

0 Replies

0 Votes

avatar image

frostI commented

Check if var is true from a random object

Feb 12, '13 object·variable·random·check·true

0 Replies

0 Votes

avatar image

Eiseno commented

Blood Splash Effects for VR

Jan 20, '17 vr·variable

0 Replies

0 Votes

avatar image

eaglemaster7 asked

assign variable via reflection mode

Aug 16, '12 gameobject·variable·reflection

0 Replies

0 Votes

avatar image

Davethesloth published

Variable won't update within a certain function

Jul 10, '14 variable·function·value·fmod·angry bots

0 Replies

0 Votes

avatar image

Hmmcrunchy commented

can´t link a gui text to my script

Apr 3, '15 c#·variable·guitext

0 Replies

0 Votes

avatar image

Rajeesh_AR edited

UnassignedReferenceException: The variable enemy of EnemiesSpawner has not been assigned unity3d

Aug 22, '16 variable·assign·unassignedreferenceexcept

0 Replies

0 Votes

avatar image

jasoncosma asked

How to access the components of the Unity 2D Platformer tutorial?

Jul 17, '12 variable

0 Replies

0 Votes

avatar image

pako commented

Variable from String

Dec 23, '12 variable·string·guistyle·call·refer

0 Replies

0 Votes

avatar image

neondevil edited

Problem with calling variables inbetween scripts when opening a door with a key

Mar 10, '12 variable·door·key

0 Replies

0 Votes

avatar image

decamonos1 published

How to put a generic value on a function, or in another script?

Aug 8, '12 variable·function·generic·changing

0 Replies

0 Votes

avatar image

Hrungdak commented

How to force variables in a script to be unique to every instance?

Apr 2, '15 c#·prefab·variable·public variable

0 Replies

0 Votes

avatar image

landon912 commented

variable update for player looping and keeps adding to level

Aug 31, '12 variable·update·loops

0 Replies

0 Votes

avatar image

AyJayKaySoft asked

to point a selfwritten class in the inspector (drag n drop)

Feb 2, '13 variable·inspector·class·drag·drop

0 Replies

0 Votes

avatar image

NoseKills commented

int variable loses its value

Mar 15, '15 variable·int·reset·value·lost

0 Replies

2 Votes

avatar image

brunocoimbra edited

Adding to variable only once?

Feb 3, '16 in Help Room

0 Replies

0 Votes

avatar image

Cherno edited

Cleaning up my item script... Passing script name to function?

Jun 8, '13 variable·function

0 Replies

0 Votes

avatar image

joeybubble1 edited

Custom hostdata variables?

Nov 7, '12 network·variable·map

0 Replies

0 Votes

avatar image

faviann_sauro commented

VSTU Debugging with Remote Symbols and Sources

Jun 1, '17 variable·visual studio·dll·debug

0 Replies

4 Votes

avatar image

Destran commented

Have a GUI.Button string include a variable as part of the string?

Mar 22, '14 gui·variable·string

0 Replies

0 Votes

avatar image

Bunny83 commented

Script reads the same variables

Jul 23, '13 variable·read·same·example

0 Replies

0 Votes

avatar image

Erndog2k edited

scale textures using scrollbars that show/enable when texture is clicked on

Oct 22, '13 javascript·gui·texture·variable·texture2d

0 Replies

0 Votes

avatar image

slehmann101 published

When passing a value it becomes null

Jan 28, '14 variable·value·passing·setting

0 Replies

0 Votes

avatar image

Madog24 commented

Coin Counter showing total coins per level help

Feb 9, '18 in Help Room

0 Replies

0 Votes

avatar image

TERMINAL333 published

Admob C# Script isn't running whatsoever.

Feb 4, '15 variable·ads·admob

0 Replies

0 Votes

avatar image

ShadyProductions commented

edit a variable as a result of a collision

Mar 16, '17 collision·collider·variable·jump·local variable

0 Replies

0 Votes

avatar image

Jgnatiuk published

The variable Maincam of 'GameSetup' has not been assigned

Mar 13, '14 variable·not

0 Replies

0 Votes

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

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