• 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

Fixes in upcoming releases of Unity Answers

Using a good tone of voice when replying to posts

Requests for new tags/topics

How to use the META space

How to use the Moderator space

Questions in topic: components

  • Unanswered Questions
  • Recommended Questions
Once you sign in you will be able to subscribe for any updates here
avatar image

Bunny83 commented

Copy a component at runtime

Apr 30, '21 components·runtime-generation

9 Replies

15 Votes

avatar image

eovento answered

Cannot enabled / disable a script component?

Apr 8, '19 inspector·components·cross

2 Replies

14 Votes

avatar image

Ziplock9000 commented

Need a persistent unique id for gameobjects

Feb 16, '22 gameobjects·components·persistence·unique-identifiers

11 Replies

8 Votes

avatar image

Wisteso commented

[Editor]How can I get components in non-instantiated prefab?

Oct 17, '14 editor·prefab·components

1 Reply

7 Votes

avatar image

IssataySC answered

How to add a Script to a GameObject during Runtime [2016]

Jun 1, '22 c#·gameobject·script.·runtime·components

3 Replies

7 Votes

avatar image

HalversonS commented

Why are components' script field grayed out?

Jun 15, '16 components

2 Replies

6 Votes

avatar image

darkAbacus247 edited

Check if Object is of Type Component

Jan 26, '21 editor·objects·components·types

2 Replies

5 Votes

avatar image

kretchfoop answered

Instantiated prefab loses components

Dec 13, '11 instantiate·prefab·components

1 Reply

4 Votes

avatar image

steven3Dim commented

Destroying Components from Editor Script Throwing MissingReferenceException Closed

Jun 22, '17 editor·exception·components

1 Reply

4 Votes

avatar image

burnout156 commented

Components losing all references in inspector

Jun 19, '20 in Help Room

3 Replies

4 Votes

avatar image

Julien-Lynge answered

Check for empty gameobject in script?

Apr 27, '12 c#·gameobject·components

1 Reply

3 Votes

avatar image

saucerman commented

Displaying tooltips hint for variables in inspector

Jan 18, '17 inspector·components

2 Replies

3 Votes

avatar image

Pyunityer8002 commented

How can I AddComponent() now?

Aug 1, '20 in Help Room

3 Replies

3 Votes

avatar image

Fattie commented

Find if any script on a GameObject has a specific variable?

Oct 7, '12 components·typecast

1 Reply

2 Votes

avatar image

jankymidget edited

Using interfaces in C# Wiki

Jul 22, '17 c#·interface·components·architecture·communication

4 Replies

2 Votes

avatar image

TonyLi commented

Documenting Unity classes/ components/ system

Aug 17, '13 classes·components·design·documentation

1 Reply

2 Votes

avatar image

LaDungDev commented

Copy all components from a GameObject and paste to another GameObject

May 21, '18 components

5 Replies

2 Votes

avatar image

Bunny83 commented

GetComponent returns null however comparison to null returns false

Sep 15, '16 in Help Room

2 Replies

2 Votes

avatar image

ayaraee commented

Zenject add component dynamically

Oct 12, '16 c#·component·components·initialization

2 Replies

2 Votes

avatar image

andrew-lukasik commented

Best Practices for Modifying Core Components,Best Practice for Editing Default Components?

Jun 6, '18 c#·spriterenderer·components

0 Replies

2 Votes

avatar image

Bunny83 commented

Adding custom data to built in components

Oct 13, '11 components·metadata

2 Replies

1 Votes

avatar image

Bunny83 commented

Couldn't attach any components to 3D model Prefab

Nov 23, '11 prefab·blender·components·3dmodel

1 Reply

1 Votes

avatar image

Berenger commented

Does a large number of components will affect performance ?

Mar 17, '12 gameobject·performance·webplayer·children·components

2 Replies

1 Votes

avatar image

steezideez commented

Multiple Game Objects, different components

Jul 15, '12 gameobject·components

1 Reply

1 Votes

avatar image

Rispat-Momit answered

Animation curves of sub-objects not accessible

Apr 23, '14 animation·bug·child·unity 4·components

1 Reply

1 Votes

avatar image

Kiwasi commented

Remove "this" Component

Sep 17, '14 destroy·components·this

1 Reply

1 Votes

avatar image

HarvesteR answered

Adding a component to an object over UNET?

Aug 14, '19 networking·components·addcomponent·command

2 Replies

1 Votes

avatar image

edincanada answered

Writing Reusable Components for both SpriteRenderer and UI.Image?

Feb 5, '17 ui·image·spriterenderer·components·design-patterns

3 Replies

1 Votes

avatar image

Bunny83 commented

Self-assigning field in class

Jan 5, '16 components·attribute·assignment

1 Reply

1 Votes

avatar image

brunocoimbra commented

How to set a BoxCollider to a variable, and disable it?

Jan 18, '16 in Help Room

1 Reply

1 Votes

  • 1
  • 2
  • ›

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.

Follow This Topic

Follow This Topic

Follow by RSS

1 Person is following this topic.

avatar image

Popular Topics

c# animation android unity 5 camera 2d rotation javascript scripting problem collision ui gui error shader movement gameobject physics rigidbody editor ios texture networking raycast instantiate collider transform terrain mesh prefab input
View all

Recent Badges

  • Notable Question   NinjaEntertainment
  • Notable Question   unity_G3ulWmfFgraLvA
  • Popular Question   InfamousCupcake
  • Notable Question   Shushustorm
  • Popular Question   TheJetstream
  • Necromancer   SuperReaper1999
  • Good Answer   SuperReaper1999
  • Supporter   RonJonesTheArtist
  • Teacher   Frostbite23
  • Popular Question   denil98


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