• 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

HellsHand commented

why cant I place the building prefab even though I have the correct amount of money?

May 3, '21 instantiate·variable

3 Replies

0 Votes

avatar image

Eclipse23 published

String Variable Not Changing From Starting Value,

May 3, '21 in Help Room

0 Replies

1 Votes

avatar image

WerewoofPrime asked

how do you access and use a variable from a separate script then run an if statement depending on the value of that variable?

May 3, '21 c#·3d·variable

0 Replies

0 Votes

avatar image

The-Peaceful answered

Why can't I to declare public the variable "Clave"?

May 2, '21 variable·public·public variable·declaration

1 Reply

0 Votes

avatar image

Immersive_Display_Solutions published

How to reset already initialized variables individually through the inspector

Apr 22, '21 in Help Room

2 Replies

0 Votes

avatar image

zchin131 edited

Collision data stored in an array overwrites everything

Apr 17, '21 in Help Room

0 Replies

0 Votes

avatar image

brobrotothegogo commented

Add "speed" to an object every X seconds

Apr 16, '21 in Help Room

2 Replies

1 Votes

avatar image

RaghavendraSinghal published

Variable data type for two ints (x and y) in inspector

Apr 15, '21 variable·inspector·vector2·int·xy

3 Replies

1 Votes

avatar image

theLameBrain edited

Cant assign global variable to method parameter variable

Apr 8, '21 variable·if-statements·assign

1 Reply

0 Votes

avatar image

Voltonik_ edited

Is it possible to change CustomPass variables via other script?

Apr 4, '21 in Help Room

0 Replies

0 Votes

avatar image

KoenigX3 commented

Is it possible to use a variable as a Type?

Apr 4, '21 c#·variable·getcomponent·type

1 Reply

1 Votes

avatar image

joachimbose48 answered

Load Playerprefs on startup

Mar 31, '21 variable·load·playerpref

2 Replies

1 Votes

avatar image

HellsHand commented

How to get updated variable from another script?

Mar 29, '21 c#·variable

1 Reply

0 Votes

avatar image

HellsHand edited

Save data not creating save file

Mar 23, '21 error·variable·nullreferenceexception·save data

1 Reply

0 Votes

avatar image

Mahunreah answered

My Load function has the correct value stored but setting a value to the stored value fails? Closed

Feb 28, '21 in Help Room

1 Reply

0 Votes

avatar image

ThankyouThankyouThankyou commented

Passing variable between scripts

Feb 14, '21 variable

1 Reply

0 Votes

avatar image

GDGames0302 answered

Find variables based on value in debug mode

Feb 13, '21 variable·debug

1 Reply

0 Votes

avatar image

SkynixDev edited

How to change the walk speed of the FPSController from another script?

Feb 6, '21 scripting problem·variable·controller·fpscontroller·other script

2 Replies

0 Votes

avatar image

Blobux published

Is it possible to call a variable (i.e. int) from a text variable ?

Feb 5, '21 in Help Room

0 Replies

0 Votes

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

triangle4studios answered

How to Convert a Variable Name to a String?

Jan 26, '21 variable·function·string·convert·access

2 Replies

0 Votes

avatar image

lodendsg edited

Character Rotation on the Touch of a Button

Jan 25, '21 rotation·variable·moving·grounded·true

2 Replies

0 Votes

avatar image

Quazaar_studios answered

New Input System how to set a variable for context callback?

Jan 22, '21 variable·inputmanager·inputs

1 Reply

0 Votes

avatar image

CristianLogtech edited

Cant change variable speed in script

Jan 22, '21 in Help Room

1 Reply

0 Votes

avatar image

DanielGL answered

Variable changes to a negative number somehow

Jan 18, '21 bug·variable·if-statements

1 Reply

0 Votes

avatar image

magujo2005 published

can't assign variable

Jan 18, '21 variable

0 Replies

0 Votes

avatar image

adikecapan commented

Access static variable c#

Jan 15, '21 c#·variable·access

1 Reply

2 Votes

avatar image

DuxFortis edited

How to carry over variable (transform.position) and use it as Vector3 for instanitating a prefab

Jan 6, '21 instantiate·vector3·variable·transform.position

2 Replies

0 Votes

avatar image

pegalga published

When I use joint drive mode it says that is obsolete

Jan 4, '21 variable

0 Replies

0 Votes

avatar image

Stonemass asked

always the same problem, how to add 1 valor correctly not overtime ?

Dec 27, '20 in Help Room

0 Replies

0 Votes

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

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