• 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

CoreDLL answered

Modify private set properties.

May 21, '22 reference·reflection·security

1 Reply

0 Votes

avatar image

unity_Set8eiui9pSXSA edited

get all variables of a type from an object's components

May 12, '22 in Help Room

0 Replies

0 Votes

avatar image

Allurance commented

Can't re-enable a gameobject

May 9, '22 2d·ui·gameobject·reference·reference-other-object

1 Reply

0 Votes

avatar image

SRJMerge asked

Retain references to child gameobjects while duplicating objects

Apr 27, '22 c#·scripting problem·instantiate·reference

0 Replies

1 Votes

avatar image

UglyDuckling commented

Moving code from external c# project library into Unity without loosing references

Apr 19, '22 in Help Room

0 Replies

1 Votes

avatar image

Captain_Pineapple edited

How do I reference any instance of a prefab?

Apr 13, '22 prefabs·reference·prefab-instance

1 Reply

0 Votes

avatar image

Deshalsky edited

How to reference a specific script asset type in Inspector?

Apr 11, '22 in Help Room

0 Replies

0 Votes

avatar image

Komohu answered

Changing class data with a reference?

Feb 2, '22 c#·scripting problem·variables·reference

2 Replies

0 Votes

avatar image

henkehedstrom answered

Variable to component keeps old value, even after using GetComponent again

Jan 7, '22 component·reference·reference-other-object

1 Reply

0 Votes

avatar image

ThatGuy52699 commented

Slider reference lost when scene changes

Dec 28, '21 scene·reference

1 Reply

0 Votes

avatar image

EliasMiettinen answered

After instantianting gameobjects, unity cant asign references anymore

Dec 21, '21 c#·error·error message·reference·insantiate

1 Reply

0 Votes

avatar image

CiphersoftStudios commented

Losing references after reloading the scene, even though they exist again.

Dec 5, '21 instantiate·destroy·spawn·reference·spawning

1 Reply

0 Votes

avatar image

FrancisBrunel commented

How to change a value of a reference object variable after a while ?

Nov 26, '21 variable·variables·reference·values·references

0 Replies

0 Votes

avatar image

fritzlloydw answered

Component passing self to method

Nov 25, '21 c#·component·reference·self

1 Reply

0 Votes

avatar image

comiljou edited

Having a reference to only one variable.

Nov 23, '21 variable·scriptableobject·reference

2 Replies

0 Votes

avatar image

Hellium edited

Passing reference of transform properties to coroutine animation?

Nov 21, '21 animation·transform·reference·coroutines·references

1 Reply

0 Votes

avatar image

AdityaSingh666 asked

Losing references in all scripts after changing the location of the unity editor

Nov 15, '21 editor·reference·namespace

0 Replies

0 Votes

avatar image

Shinobi_Lord commented

Unable to Reference a Class

Nov 10, '21 reference·namespace·using

1 Reply

1 Votes

avatar image

U2-84 asked

Problem passing a GameObject to another script

Oct 29, '21 gameobject·reference·passing·another script

0 Replies

0 Votes

avatar image

JoltenDev asked

GameObject is not activating from StateMachineBehavior script

Oct 23, '21 scripting problem·gameobject·reference·active·state-machine

0 Replies

0 Votes

avatar image

jester12272012 commented

How do I make an unusable and hidden button until certain conditions are met ?

Sep 15, '21 scripting problem·unityeditor·reference·hide

1 Reply

0 Votes

avatar image

XoetziX answered

Firebase - "Object reference not set to an instance of an object" - how to further analyse it?

Sep 15, '21 reference·authentication

1 Reply

0 Votes

avatar image

DunkMan edited

How to shortcut a lambda expression through a function?

Aug 11, '21 c#·coroutine·reference·action·lambda

1 Reply

0 Votes

avatar image

FlaSh-G answered

GameObject reference breaks

Aug 10, '21 gameobject·instantiate·reference

1 Reply

0 Votes

avatar image

andrey231102 answered

The problem is into first script, Update function. I cant achieve _player.CurrentHealth and cant understand why. Help pls

Aug 2, '21 instantiate·object·reference

1 Reply

0 Votes

avatar image

Kinetrator published

How to reference an object from a static class?

Aug 1, '21 reference·static

0 Replies

0 Votes

avatar image

rage_co rolled back

I want to create a custom universal reference like the built in Unity Input class

Jul 30, '21 c#·input·reference·universal·using

1 Reply

0 Votes

avatar image

Enkhtuur edited

How to reference a prefab to the script that doesn't exist in Hierarchy

Jul 25, '21 prefab·script.·reference

0 Replies

0 Votes

avatar image

podjigateligrey commented

how do I add link script to gameobject that already exist with attached script

Jul 25, '21 in Help Room

1 Reply

0 Votes

avatar image

veyseler commented

Weird problem with referencing game manager

Jul 14, '21 gameobject·reference·referencing·gameobject.find·references

1 Reply

0 Votes

  • 1
  • 2
  • 3
  • 4
  • 5
  • ›
  • »

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