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

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

zorgzikhnit published

Character Select Button Putting Info into GameManager Script - Is this Possible?

May 7, '20 in Help Room

0 Replies

0 Votes

avatar image

chris_mouzakiscs published

GetComponentInChildren

May 1, '20 in Help Room

0 Replies

0 Votes

avatar image

r3flx edited

Is there a better way to check if a player is looking at a certain object?

Apr 29, '20 in Help Room

0 Replies

0 Votes

avatar image

kianniek published

problem with a list that has to store different things for multiple gameobjects Closed

Apr 29, '20 gameobject·script.·getcomponent·lists

1 Reply

0 Votes

avatar image

rodude123 edited

how i can Get component in FindGameObjectsWithTag ???

Apr 28, '20 c#·getcomponent·findgameobjectswithtag

2 Replies

1 Votes

avatar image

aniket_vs published

NULL REFERENCE EXCEPTION,NULL REFERENCE EXCEPTION while accessing child objects unity2D

Apr 28, '20 gameobject·transform·nullreferenceexception·getcomponent·transform.position

0 Replies

0 Votes

avatar image

hexagonius answered

How can I pause the first person character camera rotation in this case??

Apr 27, '20 c#·camera·getcomponent·rotate object·mouselook

1 Reply

1 Votes

avatar image

yummy81 answered

What is the order of execution for the instantiated object's GetComponent.Script.DoSomething?

Apr 26, '20 gameobject·scripting beginner·getcomponent·scriptingbasics·order-of-execution

1 Reply

0 Votes

avatar image

dragonero94 asked

GetComponen doesn't work

Apr 20, '20 in Help Room

0 Replies

0 Votes

avatar image

saadali211 answered

How do I call an enum from another script?

Apr 16, '20 c#·getcomponent·boolean·enum

3 Replies

3 Votes

avatar image

StandAloneStudio answered

How to get a single Text component from one of multiple children all containing Text components

Apr 13, '20 gameobject·getcomponent

2 Replies

0 Votes

avatar image

unity_EGkah3rNb0ziTw answered

Accessing a boolean from another script with GetComponent (USING C#!)

Apr 2, '20 getcomponent·boolean·access·different

1 Reply

0 Votes

avatar image

WhisperXD commented

how to create ID to script ??

Apr 1, '20 c#·getcomponent·tag·find·id

0 Replies

0 Votes

avatar image

daggertok commented

How to change image of button when clicked?

Mar 31, '20 in Help Room

2 Replies

2 Votes

avatar image

ahsen35813 converted comment to answer

Get variable from other GameObject's script Closed

Mar 30, '20 variable·getcomponent·other script

3 Replies

0 Votes

avatar image

A_Sad_Shoe answered

Cant Disable Script on Another Gameobject

Mar 29, '20 in Help Room

1 Reply

0 Votes

avatar image

Zentiu answered

Accessing a GameObject from another script

Mar 20, '20 transform·getcomponent·findgameobjectswithtag

1 Reply

0 Votes

avatar image

BastianUrbach edited

What is the basic syntax of accessing components?

Mar 9, '20 scripting problem·getcomponent·syntax·accessing

1 Reply

1 Votes

avatar image

yuanxindrome edited

Counter for sprite under script from GameObject prefab

Mar 2, '20 gameobject·prefab·sprite·getcomponent·getcomponentinchildren

0 Replies

0 Votes

avatar image

justaddice83 answered

My health bars image.fillAmount doesnt change.

Feb 28, '20 in Help Room

4 Replies

0 Votes

avatar image

sagiziv asked

LWRP generates garbage every frame

Feb 11, '20 in Help Room

0 Replies

0 Votes

avatar image

vainoharha answered

Randomized array result from other scipt

Feb 7, '20 in Help Room

2 Replies

0 Votes

avatar image

unity_ek98vnTRplGj8Q answered

can't find List index and pick a object with that index.

Feb 6, '20 list·getcomponent·incorrect

1 Reply

0 Votes

avatar image

$$anonymous$$ commented

Enable/disable mesh renderer component of a child

Jan 19, '20 getcomponent·meshrenderer

2 Replies

2 Votes

avatar image

atomodelfinal commented

Can't add sprite to instantiated GameObject

Jan 9, '20 instantiate·getcomponent·spriterenderer·addcomponent

2 Replies

0 Votes

avatar image

olejuer answered

How to find child with tag?

Jan 3, '20 getcomponent

5 Replies

1 Votes

avatar image

tothemario answered

How to FindChild RectTransform and access its Text

Dec 4, '19 array·text·getcomponent·recttransform·findchild

2 Replies

0 Votes

avatar image

ammirea edited

GetComponentInChildren Returning a Component in Parent Closed

Dec 2, '19 c#·getcomponent·getcomponentinchildren

4 Replies

4 Votes

avatar image

WinteryJungle9 commented

Cannot disable a script from another script?

Nov 21, '19 in Help Room

3 Replies

0 Votes

avatar image

martygrof3708 commented

How can I detect for 2 different component types using an interface on RayCast Hit?

Nov 20, '19 raycast·getcomponent·interface

1 Reply

0 Votes

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

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

8 People are following this topic.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image 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

  • Famous Question   A_Lego
  • Notable Question   AngeloDon
  • Popular Question   PvTGreg
  • Editor   johnathan080908
  • Notable Question   jfielding74
  • Nice Answer   ItsTwelveOclock
  • Notable Question   xiaolinl
  • Famous Question   Jake398
  • Famous Question   Jake398
  • Notable Question   msaldana


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