• 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

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

enbamb asked

How should I implement jumping into this script?

Dec 30, '21 variable·velocity·force

0 Replies

0 Votes

avatar image

Frozaken published

how do i assign variables depending on my other variables

Oct 22, '15 in Help Room

0 Replies

0 Votes

avatar image

imaginethepoet asked

Pass a C# string variable to another script from a projectile script.

Jun 11, '18 variable

0 Replies

1 Votes

avatar image

LegitTeddyBears commented

Public variable cannot be assigned in inspector

Jul 16, '19 variable·inspector

1 Reply

0 Votes

avatar image

hyperi0n answered

how can define silder variable in unity 5.3

Aug 30, '16 c#·unity5·variable·slider

1 Reply

0 Votes

avatar image

syabhri commented

How To Implement OnValueChages?

Jan 30, '20 variable·inspector·event triggering

2 Replies

0 Votes

avatar image

altropetrolio answered

List suddenly auto-clear after WebRequest (in another Script)?

Dec 25, '20 in Help Room

1 Reply

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

Salogeo commented

Retrieve static var from list containing scripts

Sep 24, '16 variable

1 Reply

0 Votes

avatar image

Kennai answered

How to change or make different value of a variable in the script used by multiple Gameobject.

Jun 10, '19 variable·scripting beginner

1 Reply

0 Votes

avatar image

Lycanthope answered

why does this not work

Jun 6, '16 in Help Room

1 Reply

0 Votes

avatar image

MJG1123 asked

name a variable when it's created???

Sep 11, '16 in Help Room

0 Replies

0 Votes

avatar image

Bonfire-Boy commented

Variables.

Sep 14, '16 c#·variable

1 Reply

0 Votes

avatar image

eses edited

How to Attach Variables to Objects?

Aug 21, '18 in Help Room

1 Reply

0 Votes

avatar image

SimonRigby commented

Variable from a script attached to a specific game object

Feb 17, '20 c#·scripting problem·bug·variable

1 Reply

0 Votes

avatar image

Sazails commented

Which code is faster? Closed

Feb 20, '19 variable

1 Reply

0 Votes

avatar image

Fake_Ludo edited

Placing scene object in inspector as a varable and load with button in game

Feb 2, '22 button·object·variable·load scene

1 Reply

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

GamingBro111 asked

How to check variables from other scripts

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

0 Replies

0 Votes

avatar image

ahiyantra answered

Why is the private int variable in this c# program not updating?

Mar 12, '22 in Help Room

1 Reply

0 Votes

avatar image

xxmariofer commented

OverlapSphere won't accept a variable as position (stays instead at 0,0,0?) Closed

Mar 19, '20 in Help Room

1 Reply

0 Votes

avatar image

Vicarian commented

Destroying public variables

Aug 2, '18 c#·variable

1 Reply

0 Votes

avatar image

TitaniumCats asked

How can I define my own datatype?: `private EnemyCounter enemyCounter`

Apr 1, '19 in Help Room

0 Replies

0 Votes

avatar image

astrospacemoth asked

How can I "maintain" the variables of my randomly generated guns?

Nov 21, '19 in Help Room

0 Replies

0 Votes

avatar image

RayJr commented

Get a variable from a C# script in a JS script.

Nov 4, '14 variable

1 Reply

0 Votes

avatar image

GarrettCox asked

Expose game state data to outside programs

Jan 3, '18 variable

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

HeilBoomer answered

How to differentiate objects with the same script?

May 13, '22 raycast·script.·variable·click objects

1 Reply

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

  • »
  • ‹
  • 74
  • 75
  • 76
  • 77
  • 78
  • ›

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