• 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

Class Object

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

attishno1 answered

Show in inspector other class properties

Apr 27, '23 in Help Room

2 Replies

0 Votes

avatar image

darkyuti asked

I made a child class of another child class, and if I declare new variables/functions in the first child class I am forced to also declare them in the parent

Jan 27, '23 in Help Room

0 Replies

0 Votes

avatar image

lyxerexyl asked

Need some help with weapon systems

Nov 25, '22 in Help Room

0 Replies

0 Votes

avatar image

tspalter asked

List of Class Instances Creating Null Pointer Exception,List of Class Instances Creates a Null Object

Nov 9, '22 unity 5·scripting problem·list·class object

0 Replies

0 Votes

avatar image

Mpsteve137 answered

Is there a way to use this approach to branching dialogue system without causing a "Serialization depth limit" error?

Sep 30, '22 in Help Room

1 Reply

0 Votes

avatar image

wideeyenow_unity commented

Game object isn't added via one class to another one (Navigation bar class)

Sep 6, '22 in Help Room

0 Replies

0 Votes

avatar image

kobaini94 edited

Referencing multiple class array variable element in script

May 17, '22 in Help Room

0 Replies

0 Votes

avatar image

Bonfire-Boy edited

GameObject not following its Transform's Vector

Mar 29, '22 transform·transform.position·class·drag-and-drop·class object

1 Reply

0 Votes

avatar image

angeln_tenev published

How do you create an asset of a list of your object type in Unity?

Feb 22, '22 mobile·assets·visual studio·class object

0 Replies

0 Votes

avatar image

MartinH8921 commented

Can I create a subclass of the GameObject class?

Jan 27, '22 class object·subclassing

1 Reply

1 Votes

avatar image

pontiac4545 edited

how to change object material with mouse click ?

Aug 3, '21 c#·materials·material color·class object

2 Replies

0 Votes

avatar image

Tulula answered

Creating a copy of an existing class object

Mar 18, '21 in Help Room

2 Replies

0 Votes

avatar image

HoweToGaming answered

class object is not destroying

Feb 24, '21 class object

1 Reply

0 Votes

avatar image

sacredgeometry commented

i have a String with the VALUE "abc" and want to set a bool with the NAME "abc" to true based on the string value

Dec 30, '20 boolean·reflection·reflections·class object

2 Replies

0 Votes

avatar image

Bunny83 edited

How do I check if a derived class is a certain class?

Dec 22, '20 class object·class instance

1 Reply

1 Votes

avatar image

iKabyLake30 asked

Issues with setting values in custom class

Dec 22, '20 in Help Room

0 Replies

0 Votes

avatar image

HitarthPadaliya edited

Call a function of a custom class through a SerializedProperty

Oct 22, '20 editor-scripting·function·serializedproperty·serializedobject·class object

0 Replies

1 Votes

avatar image

Meikkhaell edited

I'm very confused about an Object Oriented Programming Project

May 13, '20 in Help Room

0 Replies

0 Votes

avatar image

sacredgeometry edited

Get a List of the declared objects in a class

Apr 5, '20 arrays·objects·lists·class object

1 Reply

0 Votes

avatar image

torokomanga published

Randomizing and using Bool values

Feb 14, '20 in Help Room

0 Replies

0 Votes

avatar image

aalmada commented

Convert SerializedProperty to Custom Class

Nov 12, '19 class object·class instance

7 Replies

3 Votes

avatar image

WillHops answered

Accessing Nested Class Information

Jun 14, '19 in Help Room

1 Reply

0 Votes

avatar image

FastGamingYT asked

Unity custom class array serialization issue.

Jun 5, '19 in Help Room

0 Replies

0 Votes

avatar image

CreativeStormEntertainment commented

Custom class, Null Reference Exception

May 24, '19 in Help Room

4 Replies

0 Votes

avatar image

mchts answered

How to reference a prefab in a class array from a json

Mar 23, '19 instantiate prefab·class object

1 Reply

0 Votes

avatar image

particlesmash edited

Way to copy a Class without copying the references?

Feb 2, '19 in Help Room

0 Replies

0 Votes

avatar image

chiblue3D asked

Unity 2018 Editor serializedproperty insert new index using a class reference with InsertArrayElementAtIndex

Jan 22, '19 arrays·serializedproperty·class object

0 Replies

0 Votes

avatar image

mesuttasci answered

Creating class and add property to GameObject

Oct 20, '18 class object

2 Replies

0 Votes

avatar image

Bunny83 commented

If use Contructor in my program Contructor is calling two times,If I use Constructor in my Program Constructor is calling 4 times why? Closed

Oct 15, '18 classes·class object

0 Replies

0 Votes

avatar image

MotherChurchill commented

Can I save class instances in a prefab-like way?

Jun 29, '18 c#·prefab·programming·class·class object

1 Reply

0 Votes

  • 1
  • 2
  • 3
  • ›

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

class instance c# classes class array inheritance scripting problem nullreferenceexception arrays unity 5 objects javascript instances object reference list prefabs json constructor null reference exception lists assign-variable object instantiate weapon system boolean


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