• 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

Global Variable

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

Kiwasi commented

questions about referencing global variables

Aug 29, '14 global variable

1 Reply

0 Votes

avatar image

Paulius-Liekis answered

Static variable for accessing global object?

Jul 23, '14 static variable·global variable

3 Replies

1 Votes

avatar image

fafase commented

Global Variable help

Jun 25, '14 gui text·global variable

1 Reply

0 Votes

avatar image

blaz0135 commented

Global Variable Resseting By Itself

Mar 9, '14 c#·update function·global variable

1 Reply

0 Votes

avatar image

Bentoon commented

switching back and forth between Cameras

Jan 17, '14 camera·switching·global variable

2 Replies

0 Votes

avatar image

Mechlordx edited

Access variable in another object

Nov 30, '13 global·accessing scripts·global variable·global variables

1 Reply

0 Votes

avatar image

tenthbyte answered

Create a persistent GameObject using Singleton

May 6, '20 singleton·global·global variable·persistent·global variables

3 Replies

1 Votes

avatar image

Michael_glu commented

My scoring system doesn't work

Nov 11, '13 score system·global variable

2 Replies

0 Votes

avatar image

Bampf commented

Global Scripts/Variables

Sep 20, '13 android·access·global·global variable·global script

1 Reply

0 Votes

avatar image

proandrius commented

How to define component properties globally

May 3, '13 component·properties·custom-editor·global variable

1 Reply

0 Votes

avatar image

Piflik answered

Using Find() or dragging object into slot via Inspector using public variables?

Aug 28, '12 find·global variable

1 Reply

0 Votes

avatar image

Bunny83 commented

Global Variable Error Wiki

Jun 5, '12 variable·syntax-error·static variable·global variable

1 Reply

0 Votes

avatar image

sobek commented

Accessing global variable from java in c#

Oct 28, '12 global variable

2 Replies

1 Votes

avatar image

bellyCotton published

Global Variables for Scripts

Jan 13, '12 global variable

2 Replies

0 Votes

avatar image

inkspots answered

compairing a global variable

Jan 1, '12 global variable

2 Replies

1 Votes

avatar image

syclamoth commented

How can I instanciate an object when a global variable is modified?

Oct 5, '11 parent·child·global variable

2 Replies

0 Votes

avatar image

joergzdarsky commented

Global variables questions

Jul 12, '15 global·global variable

5 Replies

1 Votes

avatar image

SisterKy edited

Caching global vareiables? (n00b question)

Jul 15, '11 variable·cache·global variable

1 Reply

0 Votes

  • ‹
  • 1
  • 2

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# global variables variable static variable scripting problem global variables local variable array static serialization accessing scripts string android nullreferenceexception editor persistent buttons classes list syntax-error scripting beginner float javascript checkpoint


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