• 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

Custom Class

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

Pangamini edited

How to add custom inherited classes to array and edit them in the Inspector

May 31, '23 array·inspector·inheritance·custom class

1 Reply

0 Votes

avatar image

Bunny83 answered

Serializing a custom class self reference

Mar 13, '23 inspector·serialization·field·custom class·serializefield

1 Reply

1 Votes

avatar image

Nakrodus commented

Array Elements set to none, when I enter play mode.,array elements set to none when I enter play mode

Jan 4, '23 arrays·playmode·custom inspector·custom class

1 Reply

0 Votes

avatar image

sacredgeometry edited

How to properly make multiple enemy types?

Jan 4, '23 c#·monobehaviour·classes·oop·custom class

2 Replies

0 Votes

avatar image

Bunny83 answered

build-in Button class extension not showing new variables in inspector

Aug 31, '22 variable·inheritance·custom class

2 Replies

0 Votes

avatar image

Szikaka published

Unity fails to deserialize custom objects on MonoBehaviours loaded from asset bundles

Aug 30, '22 serialization·custom class·deserialization·modding

0 Replies

0 Votes

avatar image

Podhakkin asked

Write a list of custom classes to JSON in a human readable/editable format

Jul 27, '22 in Help Room

0 Replies

0 Votes

avatar image

BeoNoir answered

Cannot initialize an array, IndexOutOfRangeException

Jun 22, '22 in Help Room

2 Replies

0 Votes

avatar image

abdulll789 asked

Unable to find custom classes in PUN2 (PhotonNetwork, PUNClasses)

Sep 29, '21 in Help Room

0 Replies

0 Votes

avatar image

spartan12k edited

Custom class does not show in inspector

Sep 9, '21 variable·inheritance·custom class

0 Replies

0 Votes

avatar image

andrew-lukasik edited

How can I get functionality similar to OnValidate for a custom class?

Sep 2, '21 c#·serialization·custom class·validation

4 Replies

0 Votes

avatar image

recaigeciken14 answered

Custom class list seen as "none" in inspector.

May 4, '21 in Help Room

1 Reply

0 Votes

avatar image

JestaBROOK edited

Custom classes behave like structs - Clarify

Apr 14, '21 in Help Room

0 Replies

0 Votes

avatar image

Malts_ published

How Can I Stop my Array Being Cleared on Runtime via Serialisation?

Mar 25, '21 in Help Room

0 Replies

0 Votes

avatar image

Nickshepp commented

Populating custom class items (containing a list) from another script

Mar 11, '21 scripting problem·noob·custom class

2 Replies

0 Votes

avatar image

Tronyc edited

Enumeration over grid states

Jan 25, '21 array·interface·custom class·enumerate

2 Replies

0 Votes

avatar image

FlamingAngelKing asked

Specific Custom Data

Dec 22, '20 in Help Room

0 Replies

0 Votes

avatar image

iKabyLake30 asked

Issues with setting values in custom class

Dec 22, '20 in Help Room

0 Replies

0 Votes

avatar image

Llama_w_2Ls answered

how to add game object to custom class with for loop

Dec 15, '20 list·add·custom class

2 Replies

0 Votes

avatar image

wolfenswan published

Why is my serialized custom class/struct not properly instantiated (values return null/default) ?

Dec 2, '20 in Help Room

0 Replies

0 Votes

avatar image

DotNets asked

Dijkstra: How are calculations done by custom classes treated by Unity?

Aug 10, '20 in Help Room

0 Replies

0 Votes

avatar image

mindaugassimukaitis edited

Scripts unintentionally sharing data (using public classes)

Jun 9, '20 in Help Room

0 Replies

0 Votes

avatar image

kSiasios answered

How can I check if the collider is in my array and get which gameobject it is from the array?

Apr 30, '20 c#·collision·array of gameobjects·custom class

1 Reply

0 Votes

avatar image

Bunny83 commented

Custom abstract class (and inheritance) not allowing public array despite having System.Serializable?

Feb 27, '20 inspector·serializable·custom class·serializefield

1 Reply

0 Votes

avatar image

Jack-Howard commented

How can I get my Custom Tile from my tileMap

Feb 26, '20 tilemap·inheritance·tile·tiles·custom class

1 Reply

0 Votes

avatar image

RPG-Leon asked

Find entry in list based on part of the variable

Jan 5, '20 in Help Room

0 Replies

0 Votes

avatar image

danizufrique edited

Error referencing custom class elements

Dec 21, '19 arrays·referencing·grid based game·custom class·class instance

0 Replies

0 Votes

avatar image

Damnsatinist answered

Serialized Parameter Constructor?

Nov 16, '19 serialization·custom editor·parameters·constructor·custom class

1 Reply

0 Votes

avatar image

DoritoDog edited

How to create a custom network lobby manager with unet?

Oct 10, '19 in Help Room

2 Replies

0 Votes

avatar image

GrayLightGames answered

Store and access a level file with my project

Oct 6, '19 resources·files·builds·level load·custom class

1 Reply

0 Votes

  • 1
  • 2
  • 3
  • 4
  • ›

Unity Answers is in Read-Only mode

Unity Answers content will be migrated to a new Community platform and we are aiming to launch a public beta by June 9. Please note, Unity Answers is now in read-only so we can prepare for the final data migration.

For more information and updates, please read our full announcement thread in the Unity Forum.

Related Topics

c# serialization inspector list array custom editor instantiate editor class serializable classes scripting problem class instance custom inspector arrays custom inheritance scriptableobject lists monobehaviour deserialization object reference custom-inspector struct variable


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