• 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

Unanswered Questions

  • All Questions
avatar image

WantToMakeASimpleGame published

Access function from another script (Main Camera Script)

Dec 27, '14 c#·getcomponent·function·access

0 Replies

0 Votes

avatar image

Ryujose commented

PowerUp mechanics doesn't works

Dec 26, '14 getcomponent·tag·hierarchy·state

0 Replies

0 Votes

avatar image

Evil_Weevil published

Moving an object with GetComponent

Dec 14, '14 getcomponent

0 Replies

0 Votes

avatar image

MrSoad commented

Get component used to reference rotation of object in if statement?

Dec 13, '14 2d·rotation·getcomponent·shooting·shoot

0 Replies

0 Votes

avatar image

vekkna published

Disabling a script breaks GetComponent references.

Nov 20, '14 getcomponent

0 Replies

0 Votes

avatar image

Thereddic published

Implementing Setter/Getter

Nov 11, '14 getcomponent·getter

0 Replies

0 Votes

avatar image

EnriqueL published

Personaje cambie de sprite al teleportarse [Characters change sprite to teleport]

Nov 6, '14 collider·input·sprite·getcomponent

0 Replies

0 Votes

avatar image

RobotReebot edited

GetComponent don't work (i am desperate)

Oct 25, '14 c#·instantiate·getcomponent

0 Replies

0 Votes

avatar image

Shmulzious edited

Script components from multiple objects point to only one

Oct 9, '14 getcomponent

0 Replies

0 Votes

avatar image

nomad5 commented

Modifying a variable of another script with get set

Sep 12, '14 gameobject·getcomponent

0 Replies

0 Votes

avatar image

lonedrow1 commented

GetComponent, Object Reference not set to an instance of an object

Sep 5, '14 raycast·nullreferenceexception·getcomponent

0 Replies

0 Votes

avatar image

RedDevil edited

Accessing a method / void from another class?

Aug 7, '14 getcomponent·class·method

0 Replies

0 Votes

avatar image

gjf edited

AudioSource & GetComponent problem

Jul 20, '14 getcomponent·audio source

0 Replies

0 Votes

avatar image

tiffany811205 edited

problem of switching character in the game

Jul 14, '14 gameobject·object·getcomponent·switch·selection

0 Replies

0 Votes

avatar image

molokolom published

Gaze and Time delay for the Collider

Jun 18, '14 collider·time·getcomponent

0 Replies

0 Votes

avatar image

Smyw3 edited

Endless 3D plane repetition animated by script is not moving

Jun 16, '14 instantiate·transform·getcomponent·js to c#

0 Replies

0 Votes

avatar image

London243 commented

TWO GUI texture that doesn't work together

Jun 13, '14 ios·touch·getcomponent·move·guitexture

0 Replies

0 Votes

avatar image

London243 published

move a gameobject from a GUITexture

Jun 11, '14 ios·touch·getcomponent·move·guitexture

0 Replies

0 Votes

avatar image

Serk asked

How to check if a component exists without generating garbage?

Jun 11, '14 getcomponent·garbage-collection

0 Replies

1 Votes

avatar image

London243 commented

Move a cube from GUITexture. Is not working. Where is my mistake

Jun 11, '14 getcomponent·guitexture·sendmessage·move object

0 Replies

0 Votes

avatar image

robertbu commented

Taking value of variable from a script of Gameobject to a script attached to other Gameobject

May 25, '14 variable·getcomponent

0 Replies

0 Votes

avatar image

VoxPlacitum published

NullReferenceException....Again(sorry)

Apr 29, '14 color·nullreferenceexception·getcomponent

0 Replies

0 Votes

avatar image

vmvenkat asked

How to use "GetComponent" and "transform" code in dll file?

Apr 29, '14 c#·javascript·transform·getcomponent

0 Replies

0 Votes

avatar image

EvilTak commented

Raycast to Disable Script

Apr 21, '14 gameobject·raycast·transform·getcomponent

0 Replies

0 Votes

avatar image

palboy published

Object reference not set to an instance of an object in c#.

Apr 12, '14 c#·nullreferenceexception·getcomponent·timescale

0 Replies

0 Votes

avatar image

ItzWessyG published

How to change value of an animation paramater?

Apr 11, '14 animation·getcomponent·parameters

0 Replies

0 Votes

avatar image

Gruffy edited

Check if ParticleSystem exist

Apr 5, '14 getcomponent·particle system·exception

0 Replies

0 Votes

avatar image

maltadirk commented

C# - Auto increment of Scenes through Collision

Mar 30, '14 nullreferenceexception·getcomponent·scene-switching·application.loadlevel

0 Replies

0 Votes

avatar image

Alexey Samokhin published

How to get and clamp sprite name?

Mar 27, '14 sprites·getcomponent

0 Replies

0 Votes

avatar image

maroltl edited

access enum values

Mar 26, '14 getcomponent·enum·nullreference

0 Replies

0 Votes

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

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