• 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

Getters

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

Strieglitz commented

Make a public variable with a private setter appear in inspector

Jul 27, '21 c#·inspector·serialization·setters·getters

3 Replies

1 Votes

avatar image

Bunny83 commented

Get and Set difference

Dec 13, '19 c#·setters·getters

2 Replies

0 Votes

avatar image

AliceWolf answered

Getter working, Setter not

Mar 30, '19 in Help Room

2 Replies

0 Votes

avatar image

Wolfie asked

How can I correctly draw properties instead of fields in a custom property drawer?

Sep 27, '18 properties·propertydrawer·serializedproperty·getters

0 Replies

0 Votes

avatar image

SlowCircuit answered

getter and setter not working

Jun 18, '18 function·setters·getters

1 Reply

0 Votes

avatar image

brunocoimbra commented

C#6 Serializefield is not working with getter and setter

Oct 29, '17 c#·editor·serializefield·getters

1 Reply

1 Votes

avatar image

kornstar83 edited

How can I display an object with a script based off an int in a different script?

Jun 12, '17 class·int·rpg·setters·getters

1 Reply

0 Votes

avatar image

bburtson09 commented

Using Getters Question

Feb 10, '17 inheritance·extend·getters·getter

2 Replies

0 Votes

avatar image

juicyz asked

Semi Generic With References

Dec 23, '16 c#·reference·setters·getters·manipulate

0 Replies

0 Votes

avatar image

Or-Aviram commented

Why are getters getting called more than they should be called

Sep 13, '16 in Help Room

0 Replies

0 Votes

avatar image

Bunny83 commented

Getter / Setter and Variable Scope Question?

Feb 18, '16 c#·variables·setters·getters·getsetter

1 Reply

1 Votes

avatar image

Dave-Carlile answered

Getting a variable works in a Start function, but not in another one.

Sep 11, '15 in Help Room

1 Reply

0 Votes

avatar image

seanr answered

HLAPI SyncVars property setter function

Jul 5, '15 networking·dirty·state synchronization·setters·getters

1 Reply

0 Votes

avatar image

DiegoSLTS answered

Getter & Setter version Difference

Jun 17, '15 setters·getters

1 Reply

0 Votes

avatar image

_foa commented

Proper use of c# properties?

Mar 3, '15 properties·setters·getters

1 Reply

0 Votes

avatar image

robertbu commented

Javascript : Get variable & run a method from another script Closed

Nov 1, '14 javascript·method·global·setters·getters

0 Replies

0 Votes

avatar image

TheNinjassin commented

Abstract Inheritance and abstract variables sloppy code

Jul 26, '14 setters·getters

1 Reply

0 Votes

avatar image

junkdog8 commented

problems with setters and getters.

May 19, '14 tutorial·setters·getters

1 Reply

0 Votes

avatar image

NikEy commented

Getter and Setter in C#

Dec 30, '13 class object·general·setters·getters

2 Replies

0 Votes

avatar image

nventimiglia commented

C# generics and getters/setters with Unity iPhone

Oct 2, '13 iphone·generics·setters·getters

1 Reply

1 Votes

avatar image

saschandroid edited

Getters/Setters with C# Array

May 31, '13 c#·array·setters·getters

1 Reply

0 Votes

avatar image

Steve Steven commented

Properties names, same as class okay or bad?

Nov 23, '12 properties·setters·getters

1 Reply

0 Votes

avatar image

Fattie edited

Getters issue...

Nov 2, '12 javascript·inspector·setters·getters·editor-classes

1 Reply

0 Votes

avatar image

flokkienathur commented

Update Variables from script to script?

Aug 30, '12 variables·setters·getters

1 Reply

0 Votes

avatar image

MousePods commented

Creating two arrays in one script and using them outside that script

Jul 14, '12 arrays·instances·getters

1 Reply

0 Votes

avatar image

Waz answered

Prefered method for custom game settings?

Jun 29, '11 settings·custom·delegate·getters

1 Reply

0 Votes

avatar image

claytoncurmi asked

Accessing class properties through getters & setters in editor mode

Aug 13, '10 editor·variables·properties·setters·getters

1 Reply

1 Votes

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

setters c# properties inspector variables initialization int editor booleans general debug.log state synchronization settings inheritance class object dirty custom extend tutorial start delegate rpg javascript arrays method


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