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 Variable

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

WerewoofPrime answered

script always instantiates monster even when its not supposed to?

Apr 20, '22 networking·instantiate·photon·random.range·static variable

1 Reply

0 Votes

avatar image

jasoncw88888 asked

Universal Stats Class for game character/objects

Mar 7, '22 in Help Room

0 Replies

0 Votes

avatar image

DanuVIP answered

Hey, I'm working on an input system, but somehow it doesn't work anymore

Nov 17, '21 in Help Room

1 Reply

0 Votes

avatar image

critterawesome answered

How to use SharedStatic? ECS Burst SystemBase

Jun 4, '21 unity 5·dots·static variable·readonly

2 Replies

1 Votes

avatar image

Tanoshimi2000 commented

any way that I can see which script has changed the variable?

Jan 24, '21 debug·static variable

2 Replies

0 Votes

avatar image

FlippingFlopper asked

good way to get reference of transform of newly instantiated player object?

Oct 27, '20 referencing·static variable

0 Replies

0 Votes

avatar image

HBishop commented

Singleton and multiple scene data

Jul 30, '20 singleton·referencing·additive·static variable

1 Reply

0 Votes

avatar image

phyzxengr published

Editting a static variable?

Jul 5, '20 static variable

1 Reply

0 Votes

avatar image

farmvillehd edited

Reference a static variable from an instance

Jun 24, '20 reference·instance·instances·static variable

2 Replies

1 Votes

avatar image

ruimcp95 published

Static value “lost” in Unity when called on second script

Jun 4, '20 in Help Room

0 Replies

0 Votes

avatar image

Prune_Tracy commented

C# - How to set the sprites in a Static Sprite[] array

Jun 1, '20 arrays·static variable·spritemanager

1 Reply

1 Votes

avatar image

SirDodgy edited

Acessing static variable from Entities.ForEach

May 14, '20 dots·static variable

1 Reply

0 Votes

avatar image

icehex edited

Data from a simple singleton / static class return null

Apr 29, '20 nullreferenceexception·static·singleton·static variable·static-function

1 Reply

0 Votes

avatar image

Fragsteel edited

Execution order of static variable value change in update

Mar 10, '20 static variable·execution order

1 Reply

0 Votes

avatar image

xxfelixlangerxx asked

Get public static list

Feb 29, '20 in Help Room

0 Replies

0 Votes

avatar image

alwayscodeangry commented

Bomberman - bombAmountScript

Feb 23, '20 function call·static variable·bomb

1 Reply

0 Votes

avatar image

Tuonela93 commented

How to avoid storing the same resource for each gameobject?

Dec 31, '19 gameobject·inspector·resources·efficiency·static variable

1 Reply

2 Votes

avatar image

tillmonkthered commented

Scripts/buttons getting old (prefab?) values of variables

Jul 27, '19 prefabs·variables·buttons·prefab-instance·static variable

1 Reply

0 Votes

avatar image

zulaikhasalahuddin published

How do add a random sprite from my sprite list to scroll snap ?,I want to know how do i add new sprite in Second scene under scroll snap when user clicks on the button in the first scene.

Jun 24, '19 list·random·sprites·scroll·static variable

0 Replies

0 Votes

avatar image

$$anonymous$$ edited

Public static variable not updating from void Start ()?

Mar 5, '19 static variable·public static

2 Replies

0 Votes

avatar image

Collects commented

Fnaf Rebot, not working with, Door.

Feb 3, '19 coroutine·bool·death·static variable

1 Reply

0 Votes

avatar image

whatevergeek answered

Game freezes after restarting.

Jan 31, '19 c#·scripting problem·static variable

2 Replies

0 Votes

avatar image

surfuay answered

Tracking Kills

Jan 15, '19 ai·static variable

2 Replies

0 Votes

avatar image

Zymurer commented

serialize static fields

Dec 14, '18 serialization·field·static variable·serializefield

1 Reply

0 Votes

avatar image

SkaredCreations commented

If I declare and initialize a public static variable in a prefab, will that variable retain its value or reset every time the prefab is instantiated?

Oct 12, '18 c#·scripting problem·prefab·static variable

1 Reply

0 Votes

avatar image

tormentoarmagedoom commented

a static variable resets whenever i enter again the update method

Jun 27, '18 in Help Room

0 Replies

0 Votes

avatar image

FlippingFlopper answered

accessed to a static variable but not getting it's value.

May 1, '18 static variable

1 Reply

0 Votes

avatar image

theredace answered

How does a singleton maintain a persistent value?

Apr 29, '18 singleton·static variable

1 Reply

0 Votes

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

uesugichezt commented

Copy static Dictionary value for local change

Dec 16, '17 dictionary·static variable·local variable

0 Replies

0 Votes

  • 1
  • 2
  • 3
  • 4
  • ›

Related Topics

static c# scripting problem unity 5 variable javascript instantiate gameobject inspector global variable transform variables reference accessing scripts fadein static-function static variables static class instance singleton serialization loadlevel transform.position dots coroutine


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