• 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

Unanswered Questions

  • All Questions
avatar image

Pica edited

How to make a global settings Editor Window for my game

Jun 2, '15 editor·inspector·global·global variable

0 Replies

0 Votes

avatar image

hexagonius edited

Is this a good use of static variables?

Apr 14, '16 in Help Room

0 Replies

2 Votes

avatar image

Guynelk asked

(PLAYMAKER) How to synchronize global variables to another visual scripting? (like Uscript or Behavior Machine Pro)

Jun 26, '17 scripting problem·variable·playmaker·global variable

0 Replies

0 Votes

avatar image

limitededitionskiingcroc asked

Checkpoints between scenes (NullReferenceException?)

Mar 29, '18 in Help Room

0 Replies

0 Votes

avatar image

Leningrads published

NullReferenceException: Object reference not set to an instance of an object

Apr 21, '16 in Help Room

0 Replies

0 Votes

avatar image

Kaimi published

Get Global defines?

Mar 27, '15 editor·global variable

0 Replies

0 Votes

avatar image

MaxGuernseyIII commented

Trouble with removing items from a list by string

Oct 20, '17 c#·list·string·argumentoutofrangeexception·global variable

0 Replies

0 Votes

avatar image

statmatics published

Camera following a moving object

May 29, '15 global variable·synchronize

0 Replies

0 Votes

avatar image

TBruce edited

How to use objects differently between scenes?

Sep 3, '16 in Help Room

0 Replies

0 Votes

avatar image

Trendsetter123 asked

Initiating the playback of a toggle through another onClick button

Jun 12, '19 public variable·global variable·public strings

0 Replies

0 Votes

avatar image

poiler22 published

Reassigning variable inside OnCollisionEvent does not change variable inside the Update method

May 20, '20 in Help Room

0 Replies

0 Votes

avatar image

arth9130 edited

Set Global Specular via Script

Jul 19, '21 shader·global variable

0 Replies

0 Votes

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