• 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

sevensixtytwo commented

How to check if variable exists?

Oct 29, '14 javascript·variable·inheritance·weapons

1 Reply

1 Votes

avatar image

Kiwasi edited

Accessing an arbitary float defined via the inspector

Nov 30, '14 variable·inspector·reflection

2 Replies

1 Votes

avatar image

Kiwasi commented

Unity says there is no such thing as a boolean.

Dec 18, '14 variable·boolean·data·booleans

1 Reply

1 Votes

avatar image

richyrich commented

What's the logic behind storing something in a temp. variable?

Jan 20, '15 variable

2 Replies

1 Votes

avatar image

Fornoreason1000 commented

Lottery system

Jan 25, '15 javascript·variable·random·system·number

1 Reply

1 Votes

avatar image

Mmmpies commented

How to call a function on an instance Closed

Feb 8, '15 c#·instantiate·variable·getcomponent·pass

1 Reply

1 Votes

avatar image

M-G-Production commented

Serialize problem with Unity Editor, values reset on game execution!

Mar 6, '15 c#·editor·variable·serialization·problem during runtime

1 Reply

1 Votes

avatar image

ComanderXXY commented

Set a public Component variable in the Inspector

Mar 4, '16 in Help Room

0 Replies

1 Votes

avatar image

rubyblue4ever commented

How to reach a variable in another scene?

May 1, '20 scene·variable

1 Reply

1 Votes

avatar image

verer commented

How can i change a childs local position with a variable?

Jun 15, '15 c#·camera·vector3·variable·localposition

1 Reply

1 Votes

avatar image

VanessadePaula commented

How do I reference a UI text in Unity 5? (JS)

Aug 20, '17 javascript·ui·variable·guitext

2 Replies

1 Votes

avatar image

Light997 commented

Why can't unity see my variable declaration?

Jul 12, '15 c#·variable·declaration

1 Reply

1 Votes

avatar image

alexanderameye commented

Graph/function in editor Closed

Apr 8, '18 variable·inspector·functions·graph·x-axis

1 Reply

1 Votes

avatar image

himanshugupta159 answered

Declaring a variable in Start funciton

Jan 22, '19 array·variable·start·findgameobjectswithtag·declaration

3 Replies

1 Votes

avatar image

hiddenburrito asked

Vibrating Xbox 360 controller without using Xinput?

Nov 13, '15 in Help Room

0 Replies

1 Votes

avatar image

TheNinjassin commented

Use Of Static Variables

Feb 11, '16 variable·reference·static·constructor

1 Reply

1 Votes

avatar image

bayerly commented

Best way to emulate Swift String Interpolation in UnityScript?

Mar 28, '16 javascript·scripting problem·variable·string·concat

1 Reply

1 Votes

avatar image

Teh_Keeper commented

Getting variable from instantiated clone instead of prefab C#

Mar 17, '16 in Help Room

2 Replies

1 Votes

avatar image

chimeforest answered

How do you undo a variable on a script attached to an object?

May 21, '16 in Help Room

1 Reply

1 Votes

avatar image

ankurgecr commented

First person controls for GoogleCardboard

Apr 26, '17 in Help Room

2 Replies

1 Votes

avatar image

_watcher_ answered

ParticleSystem -> Prewarm AFTER setting up particlesystem using scripting?

Jun 3, '16 variable

1 Reply

1 Votes

avatar image

Bunny83 answered

AddComponent with parameter variable

Jul 6, '16 variable·getcomponent·parameters·type

2 Replies

1 Votes

avatar image

Yujingping answered

How to print variable? (C#)

Aug 8, '16 in Help Room

1 Reply

1 Votes

avatar image

Jessespike edited

Call functions via variable, like a button

Sep 26, '16 scripting problem·variable·inspector

3 Replies

1 Votes

avatar image

Halo-Freak commented

I am trying to access a variable from another script.

Oct 9, '16 scripting problem·player·variable·script error·health

1 Reply

1 Votes

avatar image

Bunny83 commented

Custom inspector resets values when refreshing

Nov 11, '16 variable·inspector·custom-inspector·oninspectorgui

1 Reply

1 Votes

avatar image

Jarzyna asked

How do I save custom variables?

Nov 19, '16 in Help Room

1 Reply

1 Votes

avatar image

Bunny83 commented

public script variable in inspector

Jul 31, '21 variable·inspector·public·public variable

2 Replies

1 Votes

avatar image

Bunny83 edited

Global or local variables for use at start function just once

Dec 10, '16 variable·variables·local·global

2 Replies

1 Votes

avatar image

NovaDrox commented

Object reference not set to an instance of an object (C#)

Dec 17, '16 in Help Room

2 Replies

1 Votes

  • »
  • ‹
  • 7
  • 8
  • 9
  • 10
  • 11
  • ›
  • »

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