• 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

Globalvariables

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

unity_ek98vnTRplGj8Q answered

Help with Making A Variable Global in a Scene

Feb 1, '21 globalvariables·global variables

1 Reply

0 Votes

avatar image

JotaRata asked

Animator Global Variables?

Jun 13, '18 in Help Room

0 Replies

1 Votes

avatar image

kart_ranger edited

custom defines not reflected in Mono

Oct 18, '17 scripting problem·preprocessor·define·globalvariables

1 Reply

0 Votes

avatar image

wuym67123 answered

Google Mobile Ads Unity Plugin - global bannerView

Feb 21, '17 admob·banner·globalvariables

1 Reply

1 Votes

avatar image

hexagonius answered

OnTriggerEnter not working when objects speed is from a global variable?

Feb 22, '16 in Help Room

1 Reply

0 Votes

avatar image

NoxCaos published

Global data structure accessible by any script? Closed

Mar 8, '15 scriptingbasics·data storage·accessing from any script·globalvariables

1 Reply

0 Votes

avatar image

OctoSloths commented

Set a global bool to true?

Dec 8, '14 c#·boolean·level·if·globalvariables

1 Reply

0 Votes

avatar image

lavapig published

How To Declear A Global Varible? Closed

Nov 4, '14 javascript·scriptingbasics·easy·globalvariables

0 Replies

0 Votes

avatar image

Alp-Giray-Savrum commented

If Statements with PlayerPrefs Wiki

Sep 3, '14 text·playerprefs·string·textmesh·globalvariables

1 Reply

0 Votes

avatar image

v0kb0l0k asked

Global variables with fixed shaders

May 29, '14 shader·globalvariables

0 Replies

0 Votes

avatar image

matta9001 edited

Make a global variable that can be accessed in different scenes

Mar 24, '14 javascript·scene·noob·globalvariables

2 Replies

0 Votes

avatar image

jpostma1 commented

keep static/global object through scenes

Mar 20, '14 scene-switching·dontdestroyonload·scene-change·globalvariables·global script

1 Reply

0 Votes

avatar image

easilyBaffled commented

Unassigned variable is assigned Wiki

Mar 20, '14 public variable·globalvariables·unassignedreferenceexcept

0 Replies

1 Votes

avatar image

MousePods answered

Access a variable easily from anywhere

Mar 20, '14 c#·variable·access·globalvariables

1 Reply

0 Votes

avatar image

jaroosh published

Is it possible to control the order of a static's initialization?

Jan 22, '14 static·initialization·globalvariables

2 Replies

0 Votes

avatar image

theyseemerollinandtheyarehatingme published

unity reading global variables as a local variables Wiki

Jan 10, '14 error·script loading·globalvariables·global script

1 Reply

0 Votes

avatar image

ColinLaws commented

How do I reference variables from other class files?

Dec 4, '13 javascript·boolean·reference·classes·globalvariables

1 Reply

0 Votes

avatar image

cregox commented

Csharp has no true global variable?

Nov 25, '13 globalvariables

4 Replies

0 Votes

avatar image

Seizure answered

PlayerPrefs are global?

Sep 4, '13 playerprefs·global·globalvariables

3 Replies

0 Votes

avatar image

tayl0r answered

How do i create a global structure and how do i acces it from any script?

Jan 3, '12 c#·globalvariables

3 Replies

0 Votes

avatar image

Aleron commented

null refference exception. right after i dimention the object array??

Jan 2, '12 c#·globalvariables

2 Replies

0 Votes

avatar image

aldonaletto answered

Member vs Global variable speed

Nov 17, '11 optimization·variables·member·globalvariables

1 Reply

0 Votes

avatar image

Joshua answered

Global Variables: import script (boo)

Aug 25, '11 global·boo·globalvariables

2 Replies

0 Votes

avatar image

SisterKy commented

Global Variables with Prefabs/ Self-Naming Variables

Aug 7, '11 variable·global·globalvariables

2 Replies

0 Votes

avatar image

tnecniv answered

BCE 0005 unknown identifier error when accessing global variable.

May 25, '11 collision·global·bce0005·globalvariables

5 Replies

0 Votes

avatar image

BoardGameFan edited

Global objects & classes

Mar 15, '11 classes·basic·globalvariables

1 Reply

0 Votes

avatar image

Nik edited

Triggering Quaternion.Slerp from static variables of another script - strange phenomena?

Mar 1, '11 globalvariables·static-variables

1 Reply

0 Votes

avatar image

RoR asked

Global Variables

Oct 23, '10 globalvariables

3 Replies

0 Votes

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Related Topics

c# global javascript classes playerprefs boolean public variable scriptingbasics variable global script shader basic banner accessing from any script initialization define admob guitext instantiate dontdestroyonload scripting problem bce0005 text gui text scope


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