• 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

Getcomponent

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

DaveA answered

GetComponent C#

Feb 13, '12 c#·programming·getcomponent

1 Reply

0 Votes

avatar image

Romano185 answered

Variable of prefab has not been assigned

Feb 12, '12 instantiate·prefab·getcomponent·findwithtag

2 Replies

0 Votes

avatar image

tank26677 published

Instantiate GameObject, GetComponentsInChildren Cast Type Error - JS

Feb 6, '12 gameobject·instantiate·getcomponent·children

1 Reply

0 Votes

avatar image

tank26677 published

Accessing instantiated GOs nested in prefabs with GetComponent

Feb 6, '12 gameobject·instantiate·getcomponent

4 Replies

1 Votes

avatar image

yigo2413 commented

GetComponent Problem with pragma strict

Feb 5, '12 getcomponent

0 Replies

0 Votes

avatar image

PiMuRho commented

An issue with GetComponent

Feb 3, '12 getcomponent

2 Replies

0 Votes

avatar image

syclamoth commented

If a number reaches a certain value send it to another script to play a sound??

Feb 3, '12 sound·getcomponent·function

1 Reply

1 Votes

avatar image

steakPinball answered

Object reference not set to an instance of an object

Feb 3, '12 gameobject·getcomponent·public variable·findwithtag

3 Replies

0 Votes

avatar image

Clockwork Fromage answered

changing a variable in an other gameobject gives a stub error

Feb 2, '12 gameobject·getcomponent

3 Replies

0 Votes

avatar image

dirtydemon commented

Bool not returning correct value from getCompoent

Feb 1, '12 c#·getcomponent·boolean

1 Reply

0 Votes

avatar image

Pierre 1 commented

Instantiate ID

Jan 27, '12 instantiate·getcomponent·id

2 Replies

0 Votes

avatar image

Lo0NuhtiK edited

Access a function of an instantiated prefab

Jan 26, '12 instantiate·prefab·getcomponent·function

1 Reply

0 Votes

avatar image

syclamoth edited

Cannot disable a script from another script

Jan 24, '12 getcomponent·component·tag

2 Replies

0 Votes

avatar image

aldonaletto commented

Referencing a c# component script from JS script

Jan 22, '12 c#·getcomponent·reference·type

2 Replies

0 Votes

avatar image

AlwaysSunny edited

null reference immediately after reference works?

Jan 22, '12 bug·getcomponent·null reference exception

0 Replies

0 Votes

avatar image

Lo0NuhtiK edited

Health gui problems...

Jan 21, '12 getcomponent

1 Reply

0 Votes

avatar image

BiG commented

Passing a boolean between scripts

Jan 16, '12 getcomponent·boolean·get component

3 Replies

0 Votes

avatar image

aldonaletto commented

how toDisable the FPSInputController.

Jan 16, '12 c#·getcomponent·disabling

1 Reply

0 Votes

avatar image

aldonaletto answered

Messenger.Broadcast VS GetComponent

Jan 16, '12 optimization·getcomponent·framerate·message

1 Reply

0 Votes

avatar image

Silx commented

#pragma strict GetComponent from Javascript to C# fails

Jan 9, '12 getcomponent·bce0018

2 Replies

0 Votes

avatar image

midavi published

GetComponent Problems with Networked FPS System

Jan 4, '12 networking·getcomponent·mouselook·fps controller

0 Replies

0 Votes

avatar image

max-kf commented

.getComponent() creates an Instance?

Jan 4, '12 array·getcomponent·reference·type

1 Reply

0 Votes

avatar image

Eric5h5 commented

3.5 change?

Jan 3, '12 getcomponent

2 Replies

0 Votes

avatar image

TheEmeralDreamer commented

GetComponent- iphone/flash

Jan 3, '12 getcomponent·flash

1 Reply

0 Votes

avatar image

tatelax commented

How do I use GetComponent to divide a variable

Jan 2, '12 getcomponent

2 Replies

0 Votes

avatar image

Marsallima edited

GetComponent not Returning

Jan 1, '12 gameobject·fps·getcomponent·get

1 Reply

0 Votes

avatar image

aldonaletto edited

Changing variables in another script

Dec 31, '11 variable·getcomponent·change

3 Replies

1 Votes

avatar image

aldonaletto answered

Detecting if other GameObject collided with has a certain component

Dec 26, '11 collision·gameobject·getcomponent·component

1 Reply

0 Votes

avatar image

Statement answered

GetComponent BCE00018 error (ultra n00b)

Dec 14, '11 getcomponent·bce0018

1 Reply

0 Votes

avatar image

Ppa0 commented

C# Get Component Question

Dec 10, '11 gameobject·getcomponent·get component

3 Replies

0 Votes

  • »
  • ‹
  • 43
  • 44
  • 45
  • 46
  • 47
  • ›
  • »

Followers

avatar image avatar image avatar image 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# gameobject variable javascript instantiate scripting problem nullreferenceexception component error array unity 5 script. prefab variables boolean reference ui string find transform ontriggerenter text raycast type function


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