• 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

Inheritance

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

rhapen commented

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

Jul 31, '22 variable·inheritance·custom class

0 Replies

0 Votes

avatar image

wideeyenow_unity edited

How to inherit real-time data from parent class?

Jul 29, '22 in Help Room

1 Reply

0 Votes

avatar image

Bazar525 commented

I can't make protected inheritance work Closed

Jul 15, '22 c#·variable·inheritance·access·protected

1 Reply

0 Votes

avatar image

Babster commented

[C#] Calling a method of a child class on a parent object

Jul 15, '22 c#·parent·child·inheritance

1 Reply

0 Votes

avatar image

SoullessPuppet published

Inherited function not using variables from correct class

Jul 14, '22 in Help Room

0 Replies

0 Votes

avatar image

lokihornsby edited

Help with inherited variables of an abstract class

Jul 12, '22 in Help Room

1 Reply

0 Votes

avatar image

TheTrueDuck answered

Base.Method using Base classes variables instead of new variables in Inherited Class

Jul 11, '22 in Help Room

1 Reply

0 Votes

avatar image

wideeyenow_unity answered

Not understanding Inherited Classes (still)

Jun 22, '22 in Help Room

1 Reply

0 Votes

avatar image

Thorolas answered

Is there a way to keep variables with interface types from resetting when assemblies reload ?

Jun 21, '22 serialization·editorwindow·inheritance·interface·editor extension

1 Reply

0 Votes

avatar image

frozpros answered

Passing data via script to an editor property doesnt save after Application.savescene

Jun 5, '22 save·inheritance

1 Reply

0 Votes

avatar image

rh_galaxy edited

Saving class data without having lots of references?

Jun 3, '22 serialization·inheritance·saving·classes·class instance

1 Reply

0 Votes

avatar image

ObviousQuantity asked

Advice on my simple effect system?

May 2, '22 inheritance

0 Replies

0 Votes

avatar image

solidxate published

ML-Agents and inheritance. An issue.

Apr 23, '22 in Help Room

1 Reply

0 Votes

avatar image

DungDajHjep commented

Serialize Lists with multiple inherited classes or interfaces ?

Mar 25, '22 in Help Room

1 Reply

0 Votes

avatar image

arjan22 commented

Can't view inheritance,I can't examine Monobehaviour inheritance

Mar 14, '22 inheritance·monobehaviour

1 Reply

0 Votes

avatar image

wannabuh_unity edited

How can I automatically update a child ScriptableObject's property values when modifying the parent's instanced property values?

Feb 24, '22 in Help Room

0 Replies

0 Votes

avatar image

RazHollander13 commented

Copy reference from one component to another derived component.,

Feb 21, '22 c#·editor·script.·serialization·inheritance

2 Replies

2 Votes

avatar image

CommonDeveloper commented

Alternative inheritance

Feb 18, '22 inheritance·classes

1 Reply

0 Votes

avatar image

Captain_Pineapple commented

Composition: Multiple actions on death

Feb 13, '22 component·inheritance·classes·architecture·structure

1 Reply

1 Votes

avatar image

a52 edited

Do Custom Inspectors Support Inheritance?

Feb 5, '22 inheritance·custom-inspector

6 Replies

19 Votes

avatar image

unity_WsWzkaLaSL0UMA published

Dynamic spells and keybindings

Feb 4, '22 in Help Room

0 Replies

0 Votes

avatar image

Shaky6bones commented

Item data structure - Scriptable Object Inheritance problems

Jan 30, '22 scripting problem·scriptableobject·inheritance·oop·datastructure

1 Reply

0 Votes

avatar image

Manasong_ commented

Cram variables inside class, use inheritance, or something else?

Jan 7, '22 c#·variables·inheritance·classes·casting

1 Reply

0 Votes

avatar image

$$anonymous$$ answered

CustomEditor for a list of polymorphic items

Jan 3, '22 editor·list·editor-scripting·inheritance·polymorphism

2 Replies

1 Votes

avatar image

gcarlso asked

How to avoid duplicating code between MonoBehaviour and NetworkBehaviour?

Nov 26, '21 networking·inheritance

0 Replies

0 Votes

avatar image

unity_7BNXn9a3TXSEWw edited

Getting the updated values of base class variables in Derived class

Nov 3, '21 beginner·inheritance

0 Replies

0 Votes

avatar image

halfblue3 answered

How to make a List that can store anything that implements an interface?

Nov 3, '21 list·scriptableobject·inheritance·interface

4 Replies

1 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

Epsilone edited

Inheriting text class messed up Execution Order

Sep 8, '21 in Help Room

0 Replies

0 Votes

avatar image

tomachinz answered

Making a static class derive from MonoBehaviour in C#

Sep 7, '21 c#·inheritance·monobehaviour·classes·derived-class

3 Replies

0 Votes

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

Followers

avatar image avatar image avatar image avatar image 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# classes class monobehaviour polymorphism scripting problem inspector abstract scriptableobject serialization override interface editor list instantiate getcomponent gameobject unity 5 variable javascript oop component custom editor subclass variables


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