• 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

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

Dramaticmazerunner asked

How to get the players CPS

Nov 16, '20 c#·variable·unityeditor

0 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

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

weissj97 asked

Inspector value changed automatically to an old value on runtime

Sep 23, '20 in Help Room

0 Replies

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

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

PinkLad45 asked

How do the change the distance of a 2D universal pipeline light from a script?

Aug 11, '20 2d·lighting·variable·programming·beginner

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

avatar image

PeKenaLarVa asked

Passing variables from one script to all clones

Jul 30, '20 in Help Room

0 Replies

0 Votes

avatar image

AngelFeather0 asked

Variable suddenly increases with time.deltatime

Jun 16, '20 variable·time.deltatime·increase

0 Replies

0 Votes

avatar image

akazhar123 published

How can I fix this, It says unassigned variable but its assigned,How can I fix the variable is unassigned but it is assigned

May 27, '20 variable·unassigned

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

Giannigiardinelli published

How Translation with a fils txt and script I18n ?

May 11, '20 scripting problem·variable·static·dropdown·translation

0 Replies

0 Votes

avatar image

Ukrutnik published

Setting variable in prefab from a method called by prefab

May 11, '20 in Help Room

0 Replies

0 Votes

avatar image

matthewdamstra published

boolean variable not changing in inspector

May 1, '20 variable·inspector

0 Replies

0 Votes

avatar image

arashsh asked

How Return Or Restart A Coroutine When A Variable Increase?

May 1, '20 c#·variable·coroutine·ienumerator·increase

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

wechat_os_Qy04hwWiqsL9Ov94DYr-DvD6Q asked

Assigning different numbers for different objects

Apr 12, '20 variable

0 Replies

0 Votes

avatar image

GamingBro111 asked

How to check variables from other scripts

Apr 5, '20 camera·script.·variable·beginner·follow player

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

m3vnsm3vns asked

Using variables values from Yarn Spinner

Mar 30, '20 in Help Room

0 Replies

0 Votes

avatar image

benrestien published

Crouching and sprinting doenst work in this script

Mar 19, '20 in Help Room

0 Replies

0 Votes

avatar image

Serchien asked

int variable seem to have multiple value at the same time

Mar 19, '20 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

smillyfaces asked

how do i get variables from shader graph

Mar 8, '20 shaders·variable

0 Replies

0 Votes

avatar image

EpicCrownKing asked

Instantiated object retains variable values

Feb 29, '20 in Help Room

0 Replies

0 Votes

avatar image

tormentoarmagedoom commented

,Changing the variable on only one object

Feb 14, '20 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

  • ‹
  • 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