Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
1 capture
14 Jun 22 - 14 Jun 22
sparklines
Close Help
  • 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

arth9130 edited

Set Global Specular via Script

Jul 19, '21 shader·global variable

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

tenthbyte answered

Create a persistent GameObject using Singleton

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

3 Replies

1 Votes

avatar image

claudius_g answered

[SOLVED] Global Variable in C# class seems to be acting like a local variable.

Jul 19, '19 array·serialization·global variable·local variable

1 Reply

0 Votes

avatar image

revolute answered

Creating single variable across all app instances

Jun 21, '19 android·global variable·variable-definition

2 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

Steve-Tou commented

Multiple objects writing to a single variable on another object's script. Closed

Oct 13, '18 in Help Room

1 Reply

0 Votes

avatar image

Kilner answered

Unwanted behavior when manipulating a public integer from a different script: How can it be fixed?

Jul 17, '18 in Help Room

1 Reply

0 Votes

avatar image

DocQwerty commented

decimals not allowed to update as global varibles from Unity to C# script?,Why are decimals not allowed to apply as global variable to be changed in Unity?

May 28, '18 version·decimal·global variable

3 Replies

0 Votes

avatar image

limitededitionskiingcroc asked

Checkpoints between scenes (NullReferenceException?)

Mar 29, '18 in Help Room

0 Replies

0 Votes

avatar image

Harinezumi commented

Are C# Global Variables Safe In Unity?

Jan 12, '18 c#·scripting problem·variables·global variable

5 Replies

1 Votes

avatar image

IngeJones answered

Issues sharing variable between 2 scripts Closed

Dec 2, '17 c#·variables·global variable

2 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

CyborgX answered

Accessing A Variable from another script C#

Aug 3, '17 in Help Room

2 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

spuller commented

Unable to use global Dictionary in function. "NullReferenceException"

Jun 25, '17 c#·scripting problem·nullreferenceexception·dictionary·global variable

1 Reply

0 Votes

avatar image

Jdzeke answered

How does this variable equal two different values

Feb 11, '17 in Help Room

1 Reply

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

Mikilo commented

Are global variables thread safe?

May 20, '16 c#·global variable·concurrency

4 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

hexagonius edited

Is this a good use of static variables?

Apr 14, '16 in Help Room

0 Replies

2 Votes

avatar image

cjdev answered

I want to access a variable in another object's script whose GameObject is stored in a variable in script 1.

Feb 4, '16 in Help Room

1 Reply

0 Votes

avatar image

NoseKills answered

a global var

Nov 23, '15 in Help Room

1 Reply

0 Votes

avatar image

usef155 published

How to use global variable to make counter Wiki

Oct 18, '15 in Help Room

1 Reply

0 Votes

avatar image

blafed commented

How to create global string like tag in MonoBehaviour?

Sep 18, '15 in Help Room

1 Reply

0 Votes

avatar image

joergzdarsky commented

Global variables questions

Jul 12, '15 global·global variable

5 Replies

1 Votes

avatar image

Doozku edited

Unsure on how to access a var from another function

Jul 4, '15 javascript·variables·global variable·local variable

2 Replies

0 Votes

avatar image

fafase commented

Best way of passing a parameter to a class

Jun 26, '15 classes·global variable

1 Reply

0 Votes

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

statmatics published

Camera following a moving object

May 29, '15 global variable·synchronize

0 Replies

0 Votes

  • 1
  • 2
  • ›

Related Topics

c# global variables variable static variable scripting problem global variables local variable editor array static serialization accessing scripts string android nullreferenceexception playmaker parent varible public strings score system object synchronize pong child


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