• 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

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

v01pe_ commented

public fixed size array in inspector

5 minutes ago array·inspector·public

4 Replies

5 Votes

avatar image

Elijah92 commented

public or private

Aug 6, '22 in Help Room

4 Replies

5 Votes

avatar image

rudnfehdgus commented

C# public parameter with custom get/set doesnt shown in the Inspector Closed

Jun 22, '22 c#·public·get·set·parameter

4 Replies

2 Votes

avatar image

jackmw94 commented

I'm trying to make a potion for my health system but I don't know how to access public properties from another code. When I though I had it, the game stop updating my Health.

Apr 28, '22 triggers·destroy object·healthbar·public

2 Replies

0 Votes

avatar image

Tortuap commented

Using [SerializeField] vs public

Apr 21, '22 inspector·public·private·serializefield

2 Replies

19 Votes

avatar image

honor0102 answered

How to check if a public method is referenced in inspector

Apr 1, '22 c#·inspector·method·public

3 Replies

0 Votes

avatar image

Bunny83 commented

Coud public variables with same names cause problems?

Jan 30, '22 function·yield·stop·public

2 Replies

1 Votes

avatar image

sammmburr commented

Hide from inspector interface but not from the debug inspector?

Jan 20, '22 inspector·debug·hide·public·internal

4 Replies

8 Votes

avatar image

PixelFireXY commented

Get Public Methods from MonoScript

Sep 2, '21 in Help Room

4 Replies

0 Votes

avatar image

TheFishyDishy edited

Invisible Public Variable in Inspector

Aug 18, '21 variable·inspector·public

5 Replies

25 Votes

avatar image

Phizzy commented

SetActive(false) not working

Aug 15, '21 ui·setactive·public·void·false

1 Reply

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

Wellmann commented

How do you rename a public variable and keep object references/values?

Jul 22, '21 variable·reference·value·public·rename

1 Reply

3 Votes

avatar image

Hellium commented

When to use private var. and public var.?

Jun 29, '21 variable·public·private·use·when

4 Replies

4 Votes

avatar image

clunkk edited

Mirror Networking - can't connect to hosted server from phone client

Jun 11, '21 networking·mirror·public·port·ip

0 Replies

0 Votes

avatar image

Maskeowl commented

How do I take a public float from a different script and access it

May 11, '21 c#·script.·float·public·call

2 Replies

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

abyboyganteng commented

How to make a public game object array inside an array (or 2D array) that can drag and drop to fill?

Feb 15, '21 gameobject·physics·array·public

1 Reply

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

pako edited

Why are my Unity Ads just an actual Ad for Unity?

Nov 6, '20 ads·user interface·unity ads·publishing·public

2 Replies

0 Votes

avatar image

Reid_Taylor answered

How to give Vector3 position to object being instantiated

Aug 30, '20 in Help Room

1 Reply

0 Votes

avatar image

AwesomeAlexx commented

Can't access another script, think it may be due to namespace/public class ?

Feb 10, '20 c#·class·namespace·public·context

1 Reply

3 Votes

avatar image

Bunny83 commented

Variable Not Changing In Method

Feb 5, '20 variable·variables·method·public·methods

1 Reply

0 Votes

avatar image

Aeroxima answered

Detect Flythrough mode in editor script

Dec 7, '19 in Help Room

1 Reply

0 Votes

avatar image

starrtennis commented

Cannot assign Public GameObject variable in Inspector...

Nov 1, '19 gameobject·variable·inspector·public·public variable

2 Replies

0 Votes

avatar image

tormentoarmagedoom answered

How to call an int value from another void

Oct 13, '19 in Help Room

1 Reply

0 Votes

avatar image

unity_qyNAJ9CdbDf9rw commented

Non-invocable member "IEnumerator" cannot be used like a method. Start StartCoroutine from other script ??

Sep 6, '19 ienumerator·public·startcoroutine·another

1 Reply

0 Votes

avatar image

unity_qyNAJ9CdbDf9rw edited

Non-invocable member "IEnumerator" cannot be used like a method. Start StartCoroutine from other script ??

Sep 6, '19 in Help Room

0 Replies

0 Votes

avatar image

BrandonKirkley asked

Can there be private images on a gameobject? Or something similar to it? Self-contained images?

Aug 25, '19 in Help Room

0 Replies

0 Votes

avatar image

Rokugan90 commented

Scriptable tile

Aug 23, '19 variable·tilemap·scriptableobject·tile·public

1 Reply

0 Votes

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

Followers

avatar image

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Related Topics

c# variable inspector private static variables class gameobject public variable error void array function scripting problem javascript access float unexpected-symbol transform prefab bool boolean button int script.


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