• 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

BrettRiet asked

Turn off CharacterControl Component Through Script?

May 7, '11 javascript·charactercontroller·getcomponent·enable

1 Reply

0 Votes

avatar image

insomniacl asked

Can't use GetComponent?

May 5, '11 getcomponent

1 Reply

0 Votes

avatar image

T3PeS asked

NullReferenceException for Guiskin asigned over inspector

May 4, '11 getcomponent·guiskin

0 Replies

0 Votes

avatar image

Javo edited

GetComponent ? help!

May 3, '11 javascript·getcomponent

1 Reply

0 Votes

avatar image

CorneliusBrutus asked

Script is setting variables but they're being reset

May 2, '11 getcomponent·variables·int·reset·accessing

1 Reply

0 Votes

avatar image

leadpixel edited

Unable to assign prefabs target at runtime

Apr 26, '11 prefab·getcomponent

1 Reply

0 Votes

avatar image

Bunny83 commented

GetComponent and interfaces

Nov 5, '15 getcomponent

3 Replies

4 Votes

avatar image

John-S206 published

disable/enable Mouse Look(c#) with a script of js

Oct 3, '16 javascript·getcomponent·enable

7 Replies

0 Votes

avatar image

Xedfire 1 asked

Turning The Mesh Renderer Back On Problem

Apr 19, '11 getcomponent·renderer

1 Reply

1 Votes

avatar image

MaxvH published

Changing Image Effect 'Depth Of Field' in run time

Dec 8, '12 getcomponent·image-effects·dof

2 Replies

0 Votes

avatar image

zmar0519 edited

Destroy(GetComponent(...)) not working

May 1, '11 destroy·getcomponent·component·inventory

1 Reply

0 Votes

avatar image

loopyllama edited

Accessing components/variables?

Apr 17, '11 error·getcomponent·static

1 Reply

0 Votes

avatar image

Matthew Dennis asked

Unknown Identifier (more information within)

Apr 14, '11 getcomponent·3dtext·bce0005

1 Reply

0 Votes

avatar image

Ricky Stefani asked

Deactivate Script

Apr 11, '11 gameobject·getcomponent

1 Reply

0 Votes

avatar image

ina asked

GameObject.Find() GetComponent() based assigns vs others?

Apr 11, '11 getcomponent·find·structure·theory

2 Replies

1 Votes

avatar image

Sebastian 2 asked

MouseLook Component - Can not enable it again

Apr 9, '11 getcomponent·mouselook·enable·unpause

0 Replies

0 Votes

avatar image

oliver-jones asked

GetComponent To Read Up Hierarchy?

Apr 7, '11 getcomponent·parent

1 Reply

0 Votes

avatar image

LuxuriusElf asked

Why doesn't script "remember" GetComponent object?

Apr 7, '11 bug·getcomponent

2 Replies

0 Votes

avatar image

Uzquiano asked

GetComponent(NameOfScript) error "reference not set to an instance"

Apr 5, '11 error·getcomponent

1 Reply

0 Votes

avatar image

Gary Jackson asked

Tranferring Color from a script to a Gui Box?

Mar 31, '11 gui·variable·color·getcomponent

1 Reply

0 Votes

avatar image

Statement edited

GameObject info

Mar 30, '11 gameobject·getcomponent

2 Replies

0 Votes

avatar image

AngryOldMan edited

Sending Damage amount to instantiate object sends previous variable

Mar 28, '11 getcomponent·send-variable

2 Replies

0 Votes

avatar image

Chrizzle asked

Want to add ship's velocity to Instantiated projectile

Mar 23, '11 instantiate·variable·getcomponent·cs1061

2 Replies

0 Votes

avatar image

Gary Jackson asked

Transferring Color from script on another GameObject to a GUI.Box

Mar 20, '11 color·getcomponent·guitexture·guistyle

1 Reply

0 Votes

avatar image

robertbeverly asked

Get unity to recognize prefab in C#

Mar 14, '11 gameobject·instantiate·prefab·getcomponent·cs0246

2 Replies

0 Votes

avatar image

ben asked

get component javascript from a c# script Wiki

Mar 10, '11 c#·javascript·getcomponent·function

3 Replies

0 Votes

avatar image

SS edited

GetComponent for all enemies

Mar 2, '11 array·getcomponent·sendmessage·static-vars

1 Reply

0 Votes

avatar image

RoR edited

What's the difference between the two GetComponents?

Feb 17, '11 getcomponent·scriptingbasics

1 Reply

1 Votes

avatar image

pdh1kid asked

Refrencing a js script on another GO from a cs script

Feb 17, '11 javascript·getcomponent

1 Reply

1 Votes

avatar image

user-8694 (google) edited

How to access variable from another c# script file?

Feb 15, '11 getcomponent·exception·unassignedreferenceexcept

1 Reply

1 Votes

  • »
  • ‹
  • 45
  • 46
  • 47
  • 48
  • 49
  • ›
  • »

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