• 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

Classes

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

GameDeveloperAf edited

[SOLVED] Increase and Decrease size of Class Array in Unity C#

6 days ago in Help Room

1 Reply

0 Votes

avatar image

DJconway edited

Best programming practice for making in game menus

Mar 31, '21 c#·menu·classes

0 Replies

0 Votes

avatar image

Josiah_Kunz commented

Derived Class Serialization

Mar 30, '21 serialization·inheritance·classes

3 Replies

1 Votes

avatar image

Namey5 edited

Editing custom types in the inspector

Mar 21, '21 inspector·scriptableobject·classes

1 Reply

0 Votes

avatar image

Ruzihm edited

Serialising subclass variables in inspector

Mar 10, '21 physics·list·inspector·serialization·classes

2 Replies

1 Votes

avatar image

BennyXUNITY edited

accessing a class by interface requries reference to other unrelated interface's assembly

Jan 16, '21 classes·interface·assemblies·reference assemblies

0 Replies

0 Votes

avatar image

akkmanali commented

How can I use one variable that can be multiple classes Closed

Dec 29, '20 c#·classes

0 Replies

0 Votes

avatar image

trapazza edited

How can I use one variable to reference multiple identical classes?

Dec 29, '20 c#·classes

2 Replies

0 Votes

avatar image

mooumari commented

How to find all classes deriving from a base class?

Dec 22, '20 classes·derived-class

1 Reply

0 Votes

avatar image

Llama_w_2Ls commented

Combine duplicates in a collection of class objects Closed

Dec 22, '20 c#·list·classes·dictionary

0 Replies

0 Votes

avatar image

sacredgeometry commented

Best way to structure my ability upgrade system?

Dec 7, '20 c#·classes·structure

1 Reply

1 Votes

avatar image

UnderShad edited

TEACHABLE MACHINE MODEL & UNITY

Dec 3, '20 model·classes·webcam·model importing·modelimporter

1 Reply

0 Votes

avatar image

Michael_Berna answered

Make custom editor for generic class to apply to all current and future child classes

Dec 1, '20 c#·script.·editor-scripting·classes

1 Reply

0 Votes

avatar image

Kofiro answered

How to refer to object based on value of a variable

Nov 24, '20 c#·classes·dictionary

1 Reply

0 Votes

avatar image

Max_Bol answered

Copy the values of a class instance to another instance of the same class

Nov 11, '20 classes·values·passing

5 Replies

0 Votes

avatar image

TheRealRan answered

How can you list all classes inside a namespace (such as UnityEngine) and every message method that class has?

Nov 4, '20 list·classes·namespace·message·methods

1 Reply

0 Votes

avatar image

Huxii answered

ParticleSystemMultiplier class missing a reference

Oct 28, '20 in Help Room

2 Replies

2 Votes

avatar image

thegrandmaster97 asked

How to pass over different scripts, subscribing to the same interface

Oct 19, '20 reference·classes·interface

0 Replies

0 Votes

avatar image

PlayCreatively commented

Show a dropdown for C# classes in inspector.

Oct 6, '20 inspector·editor-scripting·classes·dropdown

2 Replies

0 Votes

avatar image

evu edited

Hitting Serialization depth, need a better way to access parent class

Oct 1, '20 in Help Room

1 Reply

0 Votes

avatar image

hugobpontes published

Random Fixture Generation

Sep 28, '20 lists·classes·football

0 Replies

0 Votes

avatar image

arunsiddharth567 published

So I'm trying to reference a rigidbody inside a class for all my enemies and NPCs, like so. However, it throws up this error. How do I fix this?

Sep 21, '20 unity 2d·rigidbody2d·classes

0 Replies

0 Votes

avatar image

streeetwalker answered

How to save class data(variables) into an asset file in editor ?

Sep 15, '20 in Help Room

1 Reply

0 Votes

avatar image

unity_uNEXptjrFwHPwA answered

Cant access the Image icon from class

Sep 3, '20 c#·unity 5·sprite·unity 2d·classes

1 Reply

0 Votes

avatar image

unity_uNEXptjrFwHPwA asked

Cant acces an image icon from class

Sep 2, '20 c#·unity 5·sprite·unity 2d·classes

0 Replies

0 Votes

avatar image

SolidAlloy edited

How can I use something like Invoke() to call a method in another class?

Sep 2, '20 c#·classes·method·invoke·calling

1 Reply

0 Votes

avatar image

Bunny83 commented

Enum with multiple fields

Jul 30, '20 c#·classes·enum·enumerate

1 Reply

0 Votes

avatar image

Cloudy71 answered

Enum with multiple fields

Jul 30, '20 c#·classes·enum·enumerate

2 Replies

0 Votes

avatar image

CJCreeper asked

Use another Class in a script with 'Using..' Closed

Jul 26, '20 in Help Room

0 Replies

0 Votes

avatar image

CodesCove answered

How can I use method to return custom classes (Same Class Type),How to return classes in method

Jul 24, '20 class·classes·method·return

1 Reply

0 Votes

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

Followers

avatar image

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Related Topics

c# class inheritance javascript variables array arrays gameobject list lists scripting problem inspector monobehaviour object serialization instantiate reference methods nullreferenceexception objects instance enum constructor unity 5 static


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