• 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

Aequitas asked

Accessing each array members individual variable.

Jul 13, '10 array·getcomponent·findgameobjectswithtag

1 Reply

0 Votes

avatar image

Noise crime asked

Caching script reference via GetComponent has local scope?

May 31, '10 getcomponent·null

1 Reply

1 Votes

avatar image

duck edited

Why am I getting this error when accessing a variable or function on my script using GetComponent - 'x' is not a member of 'UnityEngine.Component'?

May 19, '10 error·getcomponent·function·bce0019

1 Reply

1 Votes

avatar image

runevision edited

Why can't I set GetComponent(Some_Component).enabled = false; ?

May 6, '10 audio·getcomponent

2 Replies

1 Votes

avatar image

spinaljack edited

What's the difference between SendMessage and GetComponent?

Apr 26, '10 getcomponent·sendmessage

3 Replies

5 Votes

avatar image

Lipis edited

If/else statements inside a function...

Mar 9, '10 getcomponent

5 Replies

0 Votes

avatar image

Lipis edited

Organise scripts with the same name?

Mar 9, '10 getcomponent·inheritance

1 Reply

1 Votes

  • »
  • ‹
  • 46
  • 47
  • 48
  • 49
  • 50

Followers

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Topics

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