• 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

Addcomponent

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

T27M commented

AddComponent Loop

May 6, '12 c#·instance·addcomponent·forloop

1 Reply

0 Votes

avatar image

hoy_smallfry published

How to instantiate a MonoBehaviour from a downloaded DLL at runtime?

Jan 21, '13 runtime·dll·monobehaviour·addcomponent

0 Replies

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

Jodll commented

Class constructor

Mar 28, '12 class·addcomponent·constructor

1 Reply

5 Votes

avatar image

Dreamora edited

Can't add component because class doesnt exist

Feb 26, '12 gameobject·monobehaviour·addcomponent

1 Reply

0 Votes

avatar image

luizgpa answered

Difference between capitalized component in AddComponent and Destroy

Jan 25, '12 gameobject·rigidbody·destroy·addcomponent

2 Replies

0 Votes

avatar image

syclamoth commented

AddComponent argument in quotes vs without

Jan 25, '12 addcomponent

3 Replies

0 Votes

avatar image

davedev commented

How Do I Get a Script to Reference the GameObject When Using AddComponent?

Dec 14, '11 addcomponent

1 Reply

0 Votes

avatar image

gooncorp answered

Programmatic creation of AudioReverbZone

Aug 19, '12 addcomponent

1 Reply

0 Votes

avatar image

Demigiant commented

Is there such thing as a recommended Component cap?

Dec 7, '11 performance·destroy·monobehaviour·addcomponent·limitations

0 Replies

1 Votes

avatar image

_denis commented

AddComponent(

Nov 27, '11 c#·prefab·addcomponent

1 Reply

0 Votes

avatar image

Bunny83 commented

AddComponent is making Unity crash

Nov 10, '11 crash·addcomponent

2 Replies

1 Votes

avatar image

Kiloblargh answered

Compute mesh shapes

Feb 8, '13 error·mesh·addcomponent·shapes

1 Reply

0 Votes

avatar image

asafsitner commented

Instantiate a prefab and add a script to it

Oct 12, '11 c#·instantiate·addcomponent

1 Reply

2 Votes

avatar image

RackyMac commented

How to add new instance of a script to a game object?

Aug 26, '12 gameobject·instance·addcomponent·attach

2 Replies

0 Votes

avatar image

Corbeau commented

Adding Prefab Components

Sep 11, '11 gameobject·prefab·runtime·addcomponent

1 Reply

1 Votes

avatar image

silencer asked

AddComponent(MeshCollider) not working on Android/iOS

Aug 29, '11 android·ios·meshcollider·addcomponent

0 Replies

0 Votes

avatar image

dfgerherh answered

Can´t add Imageeffect-component at runtime.. Namespace?

Aug 23, '11 component·addcomponent·image-effects·cs0246

1 Reply

0 Votes

avatar image

fredpointzero commented

Adding scores of 2 different levels

Aug 16, '11 scene·score·addcomponent

1 Reply

0 Votes

avatar image

cregox commented

GetComponent and AddComponent with variables for Collider type

Apr 26, '13 c#·editor-scripting·getcomponent·addcomponent·cs0246

2 Replies

1 Votes

avatar image

testure commented

Singleton vs AddComponent

Jul 1, '11 optimization·singleton·addcomponent

3 Replies

0 Votes

avatar image

zhazam commented

Fetching a script name for AddComponent from a text - class doesn't exist?

Jun 17, '11 javascript·functions·addcomponent

1 Reply

0 Votes

avatar image

KodaL commented

AddComponent giving NullReferenceException in Editor script

Jun 15, '11 editor-scripting·nullreferenceexception·addcomponent

1 Reply

0 Votes

avatar image

Jesus_Freak commented

AddComponent not working

Jun 18, '11 getcomponent·addcomponent·ignore

3 Replies

1 Votes

avatar image

Santa edited

Add scripts by script in editor

May 27, '11 editor·addcomponent·automatic

2 Replies

0 Votes

avatar image

juanelo commented

Can't add script behaviour ScriptName. The script class can't be abstract!

May 23, '11 addcomponent·abstract

1 Reply

1 Votes

avatar image

burgunfaust asked

Instantiating an entire object at runtime

Apr 29, '11 gameobject·instantiate·addcomponent

0 Replies

0 Votes

avatar image

inum76 answered

Joints Configured from Script do not work properly? $20 reward

Oct 7, '15 joint·create·addcomponent·configurablejoint

3 Replies

0 Votes

avatar image

Jeliel answered

Assign skybox in script

May 24, '12 material·skybox·find·addcomponent

3 Replies

0 Votes

avatar image

doemsche asked

AddComponent and query variables from component

Feb 26, '11 classes·addcomponent

1 Reply

0 Votes

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

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# gameobject instantiate getcomponent component runtime editor monobehaviour unity 5 prefab type rigidbody destroy scripting problem script. child inheritance classes nullreferenceexception javascript instance class components hingejoint error


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