• 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

Variables

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

FeedMyKids1 edited

Way to setup editor to fill variable if another was provided

2 days ago variables

1 Reply

0 Votes

avatar image

bunny117 answered

Why is my value of a variable playerpref always the same?

4 days ago in Help Room

1 Reply

0 Votes

avatar image

Alex_terrarian commented

How do you store instantiated tiles using a coordinate system?

Jan 7, '21 instantiate·variables·lists·grid based game

2 Replies

0 Votes

avatar image

Pixel3d1234 commented

If i destroyed the prefab it won't destroy again. I have no idee how to fix, please help!

Jan 6, '21 prefab·destroy·variables·if

3 Replies

0 Votes

avatar image

unity_HTr7mOeTIRzvVA commented

Calling a variable from another script overwrites it?

Jan 2, '21 variables·calling·overwrite

1 Reply

0 Votes

avatar image

Iceboundjester8 edited

Edit Prefabs components within List and arrays.

Dec 22, '20 in Help Room

0 Replies

0 Votes

avatar image

Bunswe published

How does WaitForSeconds pass values?

Dec 21, '20 coroutine·variables·loop·waitforseconds·passing

0 Replies

0 Votes

avatar image

spilat12 answered

How to set multiple objects to a single variable

Dec 17, '20 variables

2 Replies

0 Votes

avatar image

Llama_w_2Ls answered

how to set public variable to a tag unity

Dec 16, '20 variables·tags·characters

1 Reply

0 Votes

avatar image

Vaulcul answered

How can I reset a variable for the opposite labeled object?

Dec 16, '20 in Help Room

1 Reply

0 Votes

avatar image

gipsnichmeer answered

Variables are resetting after loading the play scene

Dec 12, '20 variables·scene-loading·scene-switching·save data

1 Reply

0 Votes

avatar image

sacredgeometry edited

Taking variables from same script but different objects.

Dec 4, '20 c#·variables·universal

1 Reply

0 Votes

avatar image

Hellium edited

Changing a variable in the inspector while game is running doesn't work,When changing variable in inspector while game running, program stops responding

Dec 4, '20 unityeditor·variables

0 Replies

0 Votes

avatar image

zrike124 asked

Taking Variables from different and changing object,How to get a variable from a different object that has the same script

Dec 3, '20 c#·variables·universal

0 Replies

0 Votes

avatar image

technorocker asked

public variable is not being updated in script.

Nov 30, '20 in Help Room

0 Replies

0 Votes

avatar image

theborinator88 commented

How do I attach a GameObject to a static variable?

Nov 20, '20 scripting problem·variables

1 Reply

0 Votes

avatar image

FederalRazer89 published

Trying to get access to variables in the editor script

Nov 19, '20 scripting problem·editor-scripting·variables·monobehaviour

4 Replies

0 Votes

avatar image

nitrogames79 answered

changed variables in script not being saved

Nov 18, '20 in Help Room

1 Reply

0 Votes

avatar image

xxmariofer commented

GameObject.Find either can't be called or is in the wrong scope.

Nov 17, '20 variables·terrain generation·declaration·variable-definition

0 Replies

0 Votes

avatar image

techdoctorllc commented

Storing script names in a variable

Nov 11, '20 variables·referencing

1 Reply

0 Votes

avatar image

Leonid commented

Reference to value type

Oct 29, '20 c#·serialization·variables·value·dictionary

1 Reply

0 Votes

avatar image

theBdrive commented

How to use variable in MailMessage To?

Oct 28, '20 c#·variable·string·variables·mail

1 Reply

0 Votes

avatar image

Roger_0123 commented

Best way to assign a bunch of variables?

Oct 27, '20 scripting problem·variables·variable-definition

2 Replies

0 Votes

avatar image

joshuamcclary edited

How to get scripts to detect foreign variable change?

Oct 19, '20 in Help Room

0 Replies

0 Votes

avatar image

patrickjansendesign published

pass/change values to variables of instantiated gamobjects?

Oct 19, '20 instantiate·variables·interaction

0 Replies

0 Votes

avatar image

hendryshaikh2004 edited

Cant access variables outside of On Click() function

Oct 17, '20 in Help Room

1 Reply

0 Votes

avatar image

IsiahDaBoss67 commented

Creating a dropdown menu for variables?

Oct 16, '20 inspector·variables·dropdown

2 Replies

0 Votes

avatar image

AmaBonsu asked

DropDown Menu in Vs Code 2020 isn't appearing

Oct 12, '20 in Help Room

0 Replies

0 Votes

avatar image

smerriam asked

How can I connect a set of variables to a unique identifier?

Oct 4, '20 c#·variables·lists·id·unique-identifiers

0 Replies

0 Votes

avatar image

tomeu90 commented

Keep different values of the same variable

Sep 27, '20 coroutine·variables·values

2 Replies

0 Votes

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

Followers

avatar image avatar image avatar image avatar image

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Related Topics

c# variable javascript inspector scripting problem gameobject static array getcomponent classes instantiate unity 5 class script. access editor error public gui prefab float beginner global text functions
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges