• 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

duck edited

iteration through objects - how can I step through numerically named variables? (or nested / jagged 2D arrays?)

Apr 27, '10 variable·arrays·name·count·iterate

1 Reply

0 Votes

avatar image

CalledToGaming asked

How do i call on variables from other scripts?

Apr 25, '10 gui·variable·hotkeys

2 Replies

0 Votes

avatar image

nbatothemax published

FPS Tutorial 1-What do I drop "Explosion" onto in the inspector window for the "Missile"

Jun 22, '12 variable·explosion

3 Replies

0 Votes

avatar image

Darktz asked

Variable Script "movement"

Apr 15, '10 movement·variable

2 Replies

0 Votes

avatar image

The-BOOM asked

Saving Scripts to variables and MonoBehaviour

Apr 14, '10 variable·mono-behaviour

1 Reply

1 Votes

avatar image

straydogstrut asked

Correct way to determine if a variable has a value

Apr 10, '10 gameobject·variable·warnings

2 Replies

1 Votes

avatar image

kor asked

Adding id variable # to instantiate-ed object

Apr 8, '10 instantiate·variable·id·unique

2 Replies

1 Votes

avatar image

Dejan1 edited

How do I access a variable of a script from another script in C#?

May 9, '13 c#·variable·cs0103

1 Reply

1 Votes

avatar image

DAQ commented

Accessing variables in another script using GetComponent()

Sep 14, '11 variable·getcomponent·scriptingbasics

0 Replies

2 Votes

avatar image

Eric5h5 edited

Prefab's Script affecting all the Prefab

Apr 5, '10 prefab·variable·static·global

1 Reply

0 Votes

avatar image

frmusta asked

GUI.Style referencing, one script to another

Mar 31, '10 variable·reference·guistyle·bce0020

1 Reply

1 Votes

avatar image

akkiDev commented

Save Scores In Scene

Sep 17, '13 variable·save·persist

4 Replies

1 Votes

avatar image

duck edited

Problem naming instances with incrementally numbered counter

Mar 28, '10 instantiate·variable·reset·name·counter

1 Reply

1 Votes

avatar image

JimNix asked

Limiting Variables (On Initialisation)

Mar 24, '10 variable·clamp

2 Replies

1 Votes

avatar image

e-bonneville asked

Accessing Variables (again)

Mar 22, '10 variable·reference·javascript-specific

2 Replies

0 Votes

avatar image

ken mcall asked

having a var in one script be known to another script.

Mar 21, '10 variable

2 Replies

0 Votes

avatar image

Pedras published

How to call a function from another script - getting error "Object reference not set to an instance of an object"

Mar 28, '16 error·variable·nullreferenceexception·function·reference

5 Replies

2 Votes

avatar image

dokuganryu20 commented

scene to scene variables

Jun 26, '18 scene·variable

4 Replies

8 Votes

avatar image

bowditch edited

Adjust turning speed for 3rd Person Character?

Mar 11, '10 input·charactercontroller·variable·speed·third-person

1 Reply

1 Votes

avatar image

Ende edited

How to pass a variable from one script to another correctly.

Mar 5, '10 variable

1 Reply

0 Votes

avatar image

Ricna commented

How can you send variables to unity3d from the url?

Jan 12, '16 variable·url

6 Replies

4 Votes

avatar image

Mattivc asked

Finding the length of a string

Mar 4, '10 variable·string·javascript-specific

2 Replies

1 Votes

avatar image

Lipis edited

Access a static var from different named scripts?

Mar 4, '10 variable·static·javascript-specific

1 Reply

0 Votes

avatar image

cregox edited

Instantiate and initialize script

Mar 2, '10 instantiate·variable·scriptingbasics

3 Replies

0 Votes

avatar image

by0log1c commented

How much memory does a pointer use?

Jan 12, '12 variable·memory

5 Replies

0 Votes

avatar image

cregox asked

What are the best practices to convert variable type?

Feb 26, '10 variable·javascript-specific·bestpractices·pragmastrict

1 Reply

0 Votes

avatar image

Ricardo edited

Referencing variables / functions on another script

Mar 10, '10 variable·scriptingbasics·programming-basics

1 Reply

2 Votes

avatar image

user-672 (google) asked

Can I get a warning if I (involuntarily) declare a new js variable in an assignment?

Feb 15, '10 variable·compiling·javascript-specific·warnings·declaration

2 Replies

5 Votes

avatar image

outsidergiant commented

How do I access information (eg, variables, functions, properties) on other objects from inside a script?

Mar 23, '17 variable·access·communication·oafa

2 Replies

8 Votes

avatar image

azebramoomoo commented

Global Variable accessible from scripts within scene

Dec 19, '21 variable

2 Replies

3 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