• 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

Reference

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

InfixionGames edited

How to access a script on a instantiated prefab

Oct 29, '18 scripting problem·prefab·reference

1 Reply

0 Votes

avatar image

meat5000 commented

How to call a function from another script without referencing it?

Aug 14, '14 plugin·function·reference·call

1 Reply

0 Votes

avatar image

apdNinja asked

Using C# how can I setup a "database" script?

May 8, '11 database·reference

1 Reply

0 Votes

avatar image

Ruri-Dev edited

How to reference another object's collider for OnCollisionEnter.

May 6, '17 c#·collider·reference·oncollisionenter

1 Reply

0 Votes

avatar image

Fred 2 edited

reference to system.xml.linq.dll

May 20, '11 reference

0 Replies

0 Votes

avatar image

TotalityClause commented

Object Rotation/Character Speed

May 27, '12 rotation·object·speed·reference

1 Reply

1 Votes

avatar image

Nazirzadeh edited

Reference to a library

Nov 15, '18 reference·project·mono·assembly·library

1 Reply

3 Votes

avatar image

JoeW97 commented

Objects created in Editor script lose their reference after Play/Stop?

Nov 22, '13 gameobject·editor·reference

1 Reply

0 Votes

avatar image

max-kf commented

.getComponent() creates an Instance?

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

1 Reply

0 Votes

avatar image

Bunny83 commented

issue with yield.WaitForSeconds();

Nov 7, '11 boolean·reference·yield·waitforseconds

1 Reply

0 Votes

avatar image

Barsonax answered

Cannot access a array in another script

Oct 10, '15 in Help Room

2 Replies

0 Votes

avatar image

metallizard commented

Button Listener Takes Reference But I Want to Pass Value?

Jun 23, '16 button·reference·delegate·listener

1 Reply

0 Votes

avatar image

Jaysta edited

Ambiguous reference 'name': HSController.name, UnityEngine.Object.name.

Sep 9, '13 reference

0 Replies

0 Votes

avatar image

dythervin answered

How to reference a script asset

Feb 1, '22 inspector·editor-scripting·reference

3 Replies

0 Votes

avatar image

bubzy answered

Setting an object reference to null

Oct 29, '14 gameobject·reference

1 Reply

0 Votes

avatar image

SilverTabby edited

Talking to multiple NPC's

Aug 5, '11 player·reference·lookat·npc·dialogue

2 Replies

0 Votes

avatar image

Mloren commented

Lost script reference

Sep 4, '11 reference

0 Replies

0 Votes

avatar image

betabob-2 commented

access a var from another script

Aug 23, '11 collision·variable·reference·public variable

3 Replies

0 Votes

avatar image

GurtejKanwar published

Missing Reference Exception @ GuiSkin...Gui Button Wiki

Jun 14, '12 reference·exception·guistyle·missingreferenceexception·guiskin

1 Reply

0 Votes

avatar image

Tony asked

Ragdoll Wizard page references missing "Assets->Import Settings.."

Mar 24, '10 reference·ragdoll

2 Replies

1 Votes

avatar image

e-bonneville asked

Setting References (!Inspector)

Apr 3, '10 prefab·reference

1 Reply

0 Votes

avatar image

aldonaletto commented

Null Reference Exception Error

May 7, '12 error·reference·null·exception·null reference exception

1 Reply

0 Votes

avatar image

slake_it answered

Missing reference in inspector after updating from git

Sep 20, '17 in Help Room

1 Reply

1 Votes

avatar image

dansav commented

Is there a way to reference a script with a string?

Feb 27, '12 string·reference·monobehaviour·monobehavior

1 Reply

0 Votes

avatar image

Martijn Hendriks asked

Plugin reference to Unity

Feb 15, '11 plugin·reference·call

1 Reply

1 Votes

avatar image

AchillesWF edited

Null reference exception on GameObject

May 23, '12 gameobject·reference·null·exception

1 Reply

0 Votes

avatar image

UnityCoach answered

Store a reference to a variable instead of just the value in a class?

May 2, '17 in Help Room

1 Reply

0 Votes

avatar image

Dzxyan published

Object reference becomes null between Awake and Start after scene load

Oct 14, '16 reference·start·awake

2 Replies

0 Votes

avatar image

Graham-Dunnett answered

Ambiguous Reference Error & Arrays - How can i solve this?

Aug 4, '11 reference·type·bce0004

2 Replies

0 Votes

avatar image

Fierce Waffle edited

Default References of a Script

Jan 10, '11 reference·default·setup

1 Reply

0 Votes

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

Followers

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 object error scripting problem null instantiate variable instance prefab nullreferenceexception exception javascript getcomponent referencing assembly script. class list error message function static ui inspector boolean


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