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

Public Variable

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

legend0101 published

When I access a variable from different script it always return its initial value even if I change its value later in the first script?

May 19, '22 public variable

0 Replies

0 Votes

avatar image

RL021 published

public variable does not showing in inspecter(TiltBrush)

May 19, '22 c#·unity 5·public variable

0 Replies

0 Votes

avatar image

art_maressa published

Public variable not showing in inspector using new Input System

May 4, '22 input·inspector·variables·public variable

2 Replies

0 Votes

avatar image

MagyarPeter answered

How to prevent the value in the Inspector from overriding the value in a script?

Apr 16, '22 scripting problem·inspector·public variable

4 Replies

2 Votes

avatar image

tyboxsmash published

Syncing Variables From an Object to a Button

Mar 25, '22 in Help Room

0 Replies

0 Votes

avatar image

legon2007 asked

Attaching one variable to another one by inspector

Mar 12, '22 in Help Room

0 Replies

0 Votes

avatar image

TheDecentPanda asked

Camera won't stay attached to script when play button is pressed

Jan 14, '22 in Help Room

0 Replies

0 Votes

avatar image

Luka-Tubic asked

When accesing variables in script, it returns 0

Jan 5, '22 in Help Room

0 Replies

0 Votes

avatar image

asafsitner edited

Public variables not showing up

Oct 2, '21 in Help Room

0 Replies

0 Votes

avatar image

Tudoraster commented

Unity scriptable object inspector, field overlap eachother

Aug 15, '21 unityeditor·inspector·scriptableobject·overlap·public variable

0 Replies

0 Votes

avatar image

Bunny83 commented

public script variable in inspector

Jul 31, '21 variable·inspector·public·public variable

2 Replies

1 Votes

avatar image

ecdoreau edited

Audiosource list empty?

Jul 28, '21 lists·sounds·public variable

0 Replies

0 Votes

avatar image

JadsonAlmeida answered

public Queue

Jun 16, '21 list·public variable·queue

2 Replies

2 Votes

avatar image

undevable edited

How to make [HideInInspector] show in Debug Mode?

May 23, '21 c#·scripting problem·script.·variable·public variable

1 Reply

0 Votes

avatar image

The-Peaceful answered

Why can't I to declare public the variable "Clave"?

May 2, '21 variable·public·public variable·declaration

1 Reply

0 Votes

avatar image

Virtual_TUe edited

public int variable not updated in inspector for two scenes in Unity

Mar 10, '21 in Help Room

0 Replies

0 Votes

avatar image

flameon122 commented

Passing Script as a Public Variable,Passing Script as Public Variable

Feb 19, '21 scripting problem·public variable

2 Replies

0 Votes

avatar image

sandi397 edited

Public InputController class not showing on inspector

Feb 9, '21 in Help Room

0 Replies

0 Votes

avatar image

oshiwota commented

public script not showing in inspector

Jan 13, '21 public variable

1 Reply

0 Votes

avatar image

CmdrZin answered

how to refrence script through public transform

Dec 20, '20 script.·public variable

1 Reply

0 Votes

avatar image

helmidh asked

Why is my public variable slider resetting itself on start?,Why are the public slider variables resetting themselves on play?

Nov 19, '20 slider·public variable·automatically

0 Replies

0 Votes

avatar image

Llama_w_2Ls commented

how to make array that variables are public and I can change them from unity editor

Nov 13, '20 array·public variable·elements

0 Replies

0 Votes

avatar image

fumetsuhito95 answered

Public fields not showing in inspector

Sep 26, '20 in Help Room

1 Reply

0 Votes

avatar image

Cicero51 published

,Problems with variables

Sep 16, '20 public variable·private

0 Replies

0 Votes

avatar image

Jacobsc asked

Trying to give instantiated object a value

Aug 29, '20 in Help Room

0 Replies

0 Votes

avatar image

Freakhealer commented

how to access a float from one script in other script in different objects

Aug 27, '20 gameobject·getcomponent·float·public variable·share

3 Replies

0 Votes

avatar image

edgartip2003 commented

My variables arent updating accordingly after I instantiated them

Aug 23, '20 instantiate·unity 2d·public variable

1 Reply

0 Votes

avatar image

exploringunity answered

Public fields not showing in inspector

Jul 23, '20 inspector·serialization·public variable·serializable

2 Replies

0 Votes

avatar image

MrFuzzzy edited

How to make public variable read-only during run-time?

Jul 23, '20 c#·inspector·public variable·read-only·run-time

3 Replies

2 Votes

avatar image

DroidDaughter published

Passing a value between scripts for use in an argument?

Jul 22, '20 in Help Room

0 Replies

0 Votes

  • 1
  • 2
  • 3
  • 4
  • 5
  • ›
  • »

Related Topics

c# inspector scripting problem variable scripting beginner gameobject boolean public variables prefab private getcomponent script. editor unity 5 instantiate int float component array addcomponent editor-scripting error message unity5 2d


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