• 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: addcomponent

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

getyour411 commented

C# how to add custom class object to array

Jan 24, '15 c#·array·addcomponent·oop

0 Replies

-1 Votes

avatar image

gdennis asked

Object reference not set when GUIContent.image

Jan 18, '15 gameobject·texture2d·addcomponent·guicontent

0 Replies

0 Votes

avatar image

focus915 commented

add class or script to child gameObjects

Nov 18, '14 gameobject·object·class·addcomponent

1 Reply

0 Votes

avatar image

Kensei commented

AddComponent deletes the game object.

Nov 17, '14 c#·addcomponent·awake·game-object

1 Reply

0 Votes

avatar image

unimechanic converted comment to answer

5.0.0b9 Addcomponent cause a crash

Nov 6, '14 crash·namespace·addcomponent

1 Reply

-1 Votes

avatar image

Mobilpadde edited

AddComponent can't seem to find any of my scripts

Oct 29, '14 addcomponent

1 Reply

1 Votes

avatar image

JA_555 edited

Using addcomponent won't run the script

Oct 21, '14 addcomponent

4 Replies

0 Votes

avatar image

EggQuiz857 published

how add script by script to gameObject

Oct 18, '14 addcomponent

1 Reply

0 Votes

avatar image

NbthMnk commented

using addcomponent for buffs, using variable for class

Sep 13, '14 addcomponent

1 Reply

1 Votes

avatar image

AyAMrau answered

What is happening when you use greater and lass than signs with AddComponent?

Sep 7, '14 gameobject·meshfilter·addcomponent

1 Reply

0 Votes

avatar image

HappyGuyDK commented

AddComponent adds too many (C#)

Aug 29, '14 c#·shooting·bullet·addcomponent

3 Replies

0 Votes

avatar image

Myth edited

Auto Build Script Closed

Aug 19, '14 prefab·addcomponent

2 Replies

0 Votes

avatar image

Shamini published

Can't add script

Aug 11, '14 object·addcomponent

1 Reply

0 Votes

avatar image

1nelg published

how do you to resolve this unity message

Aug 1, '14 clone·addcomponent

0 Replies

0 Votes

avatar image

uanmanarmy commented

You are trying to create a MonoBehaviour using the 'new' keyword.

Jul 30, '14 monodevelop·monobehaviour·new·addcomponent

2 Replies

0 Votes

avatar image

WhoRainZone1 published

How do I add Projector component by code/programatically?

Jul 5, '14 projector·addcomponent

1 Reply

0 Votes

avatar image

Aeron0 edited

Copy a script from one gameobject to another?

Jul 1, '14 c#·addcomponent

1 Reply

0 Votes

avatar image

dagon published

Error in AddComponent

Jun 14, '14 addcomponent

1 Reply

0 Votes

avatar image

IRobb published

How do I create GameObject & add GUIText from script for iOS?

Jun 7, '14 text·guitext·font·resources.load·addcomponent

1 Reply

0 Votes

avatar image

reyonman edited

AddComponent() creating two colliders?

Jun 4, '14 editor·meshcollider·duplicate·addcomponent

0 Replies

0 Votes

avatar image

xpecttrum published

Delete Component at Runtime

May 13, '14 runtime·component·delete·hingejoint·addcomponent

1 Reply

1 Votes

avatar image

Thuenderman commented

Creating prefab through custom editor window

Apr 12, '14 asset·editorwindow·assetdatabase·addcomponent·custom-editor

1 Reply

1 Votes

avatar image

mahana21 commented

Attach a script to GameObject in a DLL

Mar 21, '14 plugin·addcomponent

0 Replies

0 Votes

avatar image

Stardog edited

NullReferenceException - Editor script using GetComponent after AddComponent

Mar 15, '14 editor·nullreferenceexception·getcomponent·addcomponent

1 Reply

0 Votes

avatar image

highpockets commented

Best way to find appropriate script for random enemy?

Mar 12, '14 random·enemy·component·class·addcomponent

1 Reply

0 Votes

avatar image

momoguru published

Problem with AddComponet(SCRIPT) on a Instantiated PREFAB

Mar 9, '14 instantiate·prefab·addcomponent

0 Replies

0 Votes

avatar image

stevethorne commented

Trouble with Adding a Component that is already Disabled

Feb 27, '14 addcomponent·disabled

1 Reply

0 Votes

avatar image

Vipirak published

Destroying Object when Adding Component

Feb 22, '14 c#·addcomponent

2 Replies

0 Votes

avatar image

Orolo edited

Variables assigned in the inspector of a script don't seem to work when instantiating them via AddComponent

Feb 3, '14 inspector·texture2d·addcomponent·public variable

0 Replies

0 Votes

avatar image

njpatter answered

Add instantiated class to gameobject

Jan 24, '14 gameobject·addcomponent

1 Reply

0 Votes

  • »
  • ‹
  • 3
  • 4
  • 5
  • 6
  • 7
  • ›
  • »

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

No one has followed this topic yet.

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

  • Supporter   RonJonesTheArtist
  • Teacher   Frostbite23
  • Popular Question   denil98
  • Popular Question   anurooppv
  • Necromancer   Tarrag
  • Good Answer   Tarrag
  • Supporter   jaydnwlsn
  • Notable Question   Ikrambandagi
  • Notable Question   Duncan1971
  • Popular Question   Trevdevs


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