• 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

Referencing

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

MesterMoon commented

Why does FindObjectWithTag work in editor but not in build?

20 hours ago referencing·builds·null reference

1 Reply

0 Votes

avatar image

timdadum edited

Custom class reference not recognized

Jan 13, '21 interaction·referencing

1 Reply

0 Votes

avatar image

Triggerly commented

Change NavMeshAgent Speed With Script?

Jan 10, '21 in Help Room

1 Reply

0 Votes

avatar image

nicolassocoro published

How to reference custom assets from Inspector or Script

Dec 21, '20 in Help Room

0 Replies

0 Votes

avatar image

xxmariofer answered

How to refer to object based on value of a variable

Nov 24, '20 c#·gameobjects·referencing

1 Reply

0 Votes

avatar image

theProdWorm commented

How do I get and manipulate Transform values without changing the original Transform?

Nov 18, '20 transform·reference·referencing

2 Replies

0 Votes

avatar image

techdoctorllc commented

Storing script names in a variable

Nov 11, '20 variables·referencing

1 Reply

0 Votes

avatar image

PessimistVEVO published

GameObject "not defined" when I try to reference across scripts

Nov 2, '20 in Help Room

0 Replies

0 Votes

avatar image

Bunny83 commented

store a reference to a float in a variable? (similar to what the "ref" keyword does)

Nov 1, '20 reference·float·referencing·undo·backup

2 Replies

1 Votes

avatar image

mckinney777me edited

make object disappear after being thrown when mouse clicked anywhere ?

Nov 1, '20 gameobject·instantiate·touch·mouseclick·referencing

1 Reply

0 Votes

avatar image

FlippingFlopper asked

good way to get reference of transform of newly instantiated player object?

Oct 27, '20 referencing·static variable

0 Replies

0 Votes

avatar image

unity_9rZ2tQdXui6bvw published

I have prefabs that should be referencing different GameObjects, but they all refer to the same one.

Oct 2, '20 in Help Room

0 Replies

0 Votes

avatar image

GECKOBOY123 published

the type or namespace name 'FirstPersonController' could not be found.

Sep 16, '20 not working·fps controller·referencing·player settings

0 Replies

0 Votes

avatar image

manzatto101 published

I am trying to reference a bool from another script but the only value that it returns is false

Sep 11, '20 in Help Room

0 Replies

0 Votes

avatar image

Kewelaids asked

Any other ways for instantiated prefabs to reference game-objects in the scene?

Aug 31, '20 in Help Room

0 Replies

0 Votes

avatar image

InSpirationhh commented

How to share a variable through multiple copys of the same script

Aug 30, '20 2d game·variables·topdown·referencing

2 Replies

0 Votes

avatar image

N8Dev_ commented

how to set up interaction method using raycast?

Aug 25, '20 c#·raycast·boolean·referencing

1 Reply

0 Votes

avatar image

MomkeyDev commented

can you control 2 gameobject color values without having to reference both ?

Aug 24, '20 in Help Room

0 Replies

0 Votes

avatar image

Shrimpey commented

Apply the same script on multiple objects

Aug 19, '20 2d game·topdown·referencing

1 Reply

0 Votes

avatar image

MeltingFire edited

I have 12 objects using the same script below, I need them to each activate individually of each other.

Aug 10, '20 in Help Room

0 Replies

0 Votes

avatar image

HBishop commented

Singleton and multiple scene data

Jul 30, '20 singleton·referencing·additive·static variable

1 Reply

0 Votes

avatar image

miccalisto commented

Reference instantiated object

Jul 24, '20 referencing·reference-other-object

2 Replies

0 Votes

avatar image

Bezoro answered

Enemy movement after death

Jul 19, '20 referencing

3 Replies

0 Votes

avatar image

sizzle3003 asked

Loading a specific set of sprites with addressables

Jul 19, '20 assetbundle·reference·assetbundles·referencing·asset bundles

0 Replies

0 Votes

avatar image

mackatopia asked

Does scriptable object data persist through List or Array changes?

Jul 9, '20 in Help Room

0 Replies

0 Votes

avatar image

icehex commented

I am having trouble making a reference.

May 16, '20 referencing

2 Replies

0 Votes

avatar image

tvilla commented

Toggling Component's Function on a gameObject

May 16, '20 component·toggle·kinematic·referencing·this

1 Reply

0 Votes

avatar image

OwnDemise commented

Access variables or methods from another class (or gameObject) [C#]

Apr 28, '20 in Help Room

1 Reply

1 Votes

avatar image

kirbygc00 edited

Drag and drop reference not working?

Apr 12, '20 scripting problem·reference·referencing

1 Reply

0 Votes

avatar image

Frederikw answered

null reference help. i fundamentally dont understand.

Apr 6, '20 in Help Room

1 Reply

1 Votes

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

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Related Topics

c# scripting problem reference gameobject variables reference-other-object error getcomponent variable javascript scriptableobject instantiate script. boolean prefabs component programming nullreferenceexception functions assembly instantiation find-gameobject scripting beginner assemblies animation
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges