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

Static-vars

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

Glurth commented

Does reading/changing Static variables constantly affect Performance or get Garbage Collected?

Jan 20, '18 in Help Room

1 Reply

1 Votes

avatar image

rakeshparihar answered

When should i use static functions?

May 16, '17 scriptingbasics·static·static-vars·static-function

2 Replies

19 Votes

avatar image

mmciver edited

Checking nulls almost all the time! Is this normal?

Feb 27, '17 nullreferenceexception·if-else·null reference·static-vars

1 Reply

0 Votes

avatar image

Ziron999 answered

Static variables assigned in the inspector

Oct 24, '16 inspector·static·custom-inspector·static-vars

2 Replies

3 Votes

avatar image

Harinezumi commented

Do static variables carry values between Clients?

Feb 8, '16 javascript·networking·static-vars

1 Reply

0 Votes

avatar image

UniqueMAX commented

Restoring Static Variables after DontDestroyOnLoad

Aug 31, '15 reference·dontdestroyonload·reference-other-object·static-vars

1 Reply

0 Votes

avatar image

jep7 published

How do i use material variables across all scenes?

Jul 1, '15 static-vars

0 Replies

0 Votes

avatar image

timohausmann edited

Unityscript: Possible to access static variables dynamically? Closed

Apr 12, '15 javascript·static-vars

1 Reply

0 Votes

avatar image

incorrect commented

[--FIXED--][UPDATE#5][VIDEO]Instantiating problem(OLD TITLE:How do I change the static variable of one object instead of all instances

Feb 12, '15 javascript·instantiate·array·confused·static-vars

3 Replies

1 Votes

avatar image

Fornoreason1000 edited

Singleton instance VS static variable ?

Jan 5, '15 singleton·static-vars

2 Replies

0 Votes

avatar image

NerdRageStudios commented

Advice on static variables and object references

Nov 17, '14 static-vars

1 Reply

0 Votes

avatar image

Turkeybag commented

Clone Objects treating static variables strangly

Oct 10, '14 clone·static variable·static-vars

1 Reply

0 Votes

avatar image

tanoshimi commented

Is there a way to edit a static variable

Jun 11, '14 values·accessing from any script·static-vars

2 Replies

0 Votes

avatar image

CB-TV commented

GUI.Button is always true?

May 22, '14 guitexture·if statement·gui.button·static-vars

1 Reply

1 Votes

avatar image

drudiverse edited

Static Variable crashes when accessed too fast?

Mar 26, '14 error·static·static-vars

0 Replies

0 Votes

avatar image

robertbu commented

Can read but cannot pass variables between scripts...

Feb 1, '14 scriptingbasics·boolean·static-vars

1 Reply

0 Votes

avatar image

MrVerdoux edited

how do I set a static Texture?

Nov 15, '13 texture·static-vars

2 Replies

0 Votes

avatar image

Alp-Giray-Savrum asked

Disable gameobject at other screen with code ? Wiki

Sep 3, '13 camera·scene·disable·enable·static-vars

0 Replies

0 Votes

avatar image

ashabi13 commented

Why cant I subtract point from my score?

Aug 31, '13 javascript·score·points·subtracting·static-vars

1 Reply

0 Votes

avatar image

SEDBC3 edited

How do I change the logged text based on a momentary collision?

Jul 3, '13 collision·string·boolean·log·static-vars

1 Reply

0 Votes

avatar image

younse published

static var problemme

Feb 15, '12 static-vars

0 Replies

0 Votes

avatar image

ina commented

Trying to create a static class for WWW-based functions and such

Jan 23, '12 www·static·yield·static-vars

0 Replies

0 Votes

avatar image

Persona commented

Why can't I set the Target

Dec 17, '11 arrays·target·homing·static-vars

1 Reply

0 Votes

avatar image

aldonaletto commented

Help! Why doesn't this work? GUI/Static vars Help! Javascript

Nov 8, '11 gui·score·var·static-vars

1 Reply

0 Votes

avatar image

dfhjklyulyu answered

static var for one object.

Aug 25, '11 javascript·gameobject·static-vars

2 Replies

0 Votes

avatar image

FTheCloud commented

Add to .net Arrays

Aug 23, '11 array·.net·adding·static-vars

1 Reply

1 Votes

avatar image

user-3061 (yahoo) asked

Changing variables in GUI?

Mar 7, '11 javascript·gui·variable·static-vars

0 Replies

0 Votes

avatar image

SS edited

GetComponent for all enemies

Mar 2, '11 array·getcomponent·sendmessage·static-vars

1 Reply

0 Votes

avatar image

Milena asked

Accesing instantiated gameobjects from another script

Feb 25, '11 instantiate·distance·static-vars

2 Replies

0 Votes

avatar image

Kristopher Williams asked

Can you change static variables from another script?

Feb 24, '11 javascript·projectile·static-vars

2 Replies

0 Votes

  • 1
  • 2
  • ›

Related Topics

javascript static instantiate array gui boolean static variable singleton score getcomponent scriptingbasics arrays reference inspector enable guitexture target if-else custom-inspector disable variable accessing from any script www null reference projectile


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