• 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

Joshua edited

Access assets from project window through code

Jul 8, '11 variable·asset·project·path

1 Reply

0 Votes

avatar image

HexadimensionalerAlp commented

Vector3 is a 'type' but it is used like an 'variable' (C#) Closed

May 24, '14 c#·vector3·variable·map·type

1 Reply

0 Votes

avatar image

Sun_Glasses_Guy commented

Random Float Variable

Jul 31, '11 terrain·variable·random·float

2 Replies

0 Votes

avatar image

SkyreGames commented

How to detect if variable is increasing

Aug 18, '13 variable·function·tag·detection

1 Reply

0 Votes

avatar image

oliver-jones asked

GetComponent Keeps Returning : Null??

Nov 27, '10 variable·getcomponent·static·mouseclick

2 Replies

1 Votes

avatar image

f_Linoal published

How do I play a sound during a level change?

Oct 31, '12 audio·variable·clip·audioplay

3 Replies

0 Votes

avatar image

Matthew 5 asked

GUI text label using variable values and text

Mar 28, '11 gui·text·variable·string·label

1 Reply

0 Votes

avatar image

DaveA answered

How do I reset a variable?

Jul 21, '11 javascript·variable·beginner·reset

2 Replies

0 Votes

avatar image

Bunny83 answered

What is underscore before a variable mean?

Dec 14, '11 variable

2 Replies

0 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

Ony asked

Easily cleaning up \ deleting unused variables?

May 8, '10 variable·variables·cleanup

2 Replies

1 Votes

avatar image

Honorsoft commented

passing variable values

Jan 30, '17 gameobject·variable

4 Replies

0 Votes

avatar image

Frix commented

'Cannot convert int to String'

Nov 29, '12 variable·string·int·popup

2 Replies

0 Votes

avatar image

aldonaletto commented

Play audio clip without a variable

Sep 13, '11 audio·variable·audiosource·audioclip

1 Reply

0 Votes

avatar image

DAQ commented

Accessing variables in another script using GetComponent()

Sep 14, '11 variable·getcomponent·scriptingbasics

0 Replies

2 Votes

avatar image

Wylie asked

How to divide a variable value and find the remainder?

Oct 19, '10 variable

1 Reply

2 Votes

avatar image

srancsik converted comment to answer

SOLVED - Accessing a C# script value from another GameObject's JavaScript

Nov 14, '13 gameobject·variable·access·another

2 Replies

0 Votes

avatar image

gavneco1 commented

GUI Text Variable Counter In C#

Jan 6, '16 c#·variable·rpg·counter·c

1 Reply

0 Votes

avatar image

fafase commented

Can I access variables of scripts that inherit from abstract classes?

Jun 27, '13 c#·variable·class·access·abstract

2 Replies

0 Votes

avatar image

stevethorne edited

If divisible by 5?

Mar 25, '14 variable·number·division

1 Reply

0 Votes

avatar image

RiQQ92 edited

Operator '!=' cannot be applied to operands of type method group and int

Apr 24, '16 in Help Room

1 Reply

0 Votes

avatar image

NeMewSys commented

GLSL: Get current time in millis

Nov 22, '12 variable·random·time·glsl·seed

1 Reply

1 Votes

avatar image

Kun-No-Name commented

How to change value of another gameobject through script

Mar 2, '16 in Help Room

2 Replies

0 Votes

avatar image

Olie asked

Can't access prefab's variables, once instantiated.

Nov 10, '10 error·instantiate·variable·missingfieldexception

2 Replies

1 Votes

avatar image

Kinglouis33 asked

Random Footsteps with variable pitch and volume

Feb 9, '11 audio·variable·footsteps

1 Reply

0 Votes

avatar image

Bunny83 answered

AddComponent with parameter variable

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

2 Replies

1 Votes

avatar image

xikky commented

How can I change a variable in a different game object's script?

Jul 17, '13 gameobject·variable

2 Replies

1 Votes

avatar image

Florian-Nouviale answered

Is there a way to assign variables before Awake() is triggered

May 19, '20 in Help Room

3 Replies

1 Votes

avatar image

SuperLegendOfStarPrime3 published

gameobject = self?

Sep 4, '14 variable·self

2 Replies

0 Votes

avatar image

Mike 3 answered

String + Variable as variable name?

Jul 15, '10 variable·name

2 Replies

1 Votes

  • »
  • ‹
  • 5
  • 6
  • 7
  • 8
  • 9
  • ›
  • »

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