• 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

da_egg5 edited

Can't declare a joystick

Apr 5, '22 scripting problem·movement·mobile·variable·player movement

0 Replies

0 Votes

avatar image

dvxl asked

Change variable through multiple scenes

Apr 4, '20 variable·settings·post processing·value·scene-change

0 Replies

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

Stonemass asked

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

Dec 27, '20 in Help Room

0 Replies

0 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

poiler22 published

Reassigning variable inside OnCollisionEvent does not change variable inside the Update method

May 20, '20 in Help Room

0 Replies

0 Votes

avatar image

sifrani asked

A public list of color in shader.

Apr 11, '22 in Help Room

0 Replies

0 Votes

avatar image

Faraa asked

Variable Sync Unity

May 26, '18 variable·synchronization

0 Replies

0 Votes

avatar image

Rickywild commented

How to change image or picure on object wih variabel syntaq ?? C#

Apr 15, '16 in Help Room

0 Replies

0 Votes

avatar image

ScaniX commented

How do I make a variable with this jump code?

Sep 21, '16 in Help Room

0 Replies

0 Votes

avatar image

tanmaykulkarni asked

The value not assigning even after clicking on the circle

Mar 16, '20 in Help Room

0 Replies

0 Votes

avatar image

TheBlueAce_ asked

Error on running animating movement code,Question on animation movement

Mar 27, '22 in Help Room

0 Replies

0 Votes

avatar image

SADYYYYYYY asked

I want to use one int in tow scripts and decrease it in the second one ,I want to use an int in tow scripts and I want to add to it

Aug 17, '20 in Help Room

0 Replies

0 Votes

avatar image

omarelgazzar14 published

Objects Disabled in Bolt, can't click it, I have a few variables in it that I for some reason can't access.

Apr 17, '22 in Help Room

0 Replies

0 Votes

avatar image

matt_unity694 published

Mulit script variable not connecting

Jan 31, '22 in Help Room

0 Replies

0 Votes

avatar image

DariusdXm asked

Infinite value add

Feb 28, '22 in Help Room

0 Replies

0 Votes

avatar image

wechat_os_Qy04hwWiqsL9Ov94DYr-DvD6Q asked

Assigning different numbers for different objects

Apr 12, '20 variable

0 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

Sull08 published

script problems

Dec 2, '20 in Help Room

0 Replies

0 Votes

avatar image

Levr01 asked

Variable not assigned but it dont need me now

Jul 6, '17 in Help Room

0 Replies

0 Votes

avatar image

Sanne_J asked

I am unable to update MoveTowards target during runtime. Object move only to first target.

Feb 9, '20 movement·vector3·variable

0 Replies

0 Votes

avatar image

wechat_os_Qy04hwWiqsL9Ov94DYr-DvD6Q asked

Assigning variable to multiple boxes

Apr 12, '20 variable

0 Replies

0 Votes

avatar image

lastnoob765 asked

How do i access a bool(or any variable) from another script and change it??

Aug 3, '20 in Help Room

0 Replies

0 Votes

  • »
  • ‹
  • 8
  • 9
  • 10
  • 11
  • 12

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