• 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-other-object

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

Bunny83 answered

Do cached references in methods also increase performance?

Nov 4, '20 methods·reference-other-object

1 Reply

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

ISNOT1 edited

how do i reference a float from another game object's script using onCollisionEnter?

Aug 13, '20 in Help Room

0 Replies

0 Votes

avatar image

miccalisto commented

Reference instantiated object

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

2 Replies

0 Votes

avatar image

dollarino edited

How to make audioclip reference to another script

Jun 27, '20 unity 5·scripting problem·audioclip·reference-other-object·holding

0 Replies

0 Votes

avatar image

darkgaze commented

How can I Find All References to an object in the inspector?

May 28, '20 inspector·find·references·reference-other-object·usage

7 Replies

15 Votes

avatar image

strattoncrenshaw published

How do I add two different values from a script on seperate game objects?

Apr 30, '20 in Help Room

0 Replies

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

Ogdy answered

How do I find which objects are referencing another?

Apr 23, '20 reference·references·asset-store·reference-other-object·inverse

9 Replies

15 Votes

avatar image

Frederikw answered

null reference help. i fundamentally dont understand.

Apr 6, '20 in Help Room

1 Reply

1 Votes

avatar image

Bunny83 commented

ERROR: A field initializer cannot reference the nonstatic field, method, or property `CameraPosition.runner'?

Mar 17, '20 transform.position·compile-error·reference-other-object

1 Reply

0 Votes

avatar image

ShadyProductions answered

Referencing game objects/script communication

Mar 10, '20 c#·communication·reference-other-object

1 Reply

0 Votes

avatar image

tormentoarmagedoom commented

my weapon dont get reference trough scene

Feb 13, '20 in Help Room

1 Reply

0 Votes

avatar image

logicandchaos answered

GameObject1's Bool is FALSE when GameObject2 is Active?

Jan 8, '20 gameobject·player movement·bool·reference-other-object

2 Replies

0 Votes

avatar image

harryjbrioche answered

grab variable from an instance of a game object?

Nov 16, '19 prefab·tag·null reference exception·reference-other-object

1 Reply

0 Votes

avatar image

ken1075240834 published

Get gameobject reference from another script

Oct 17, '19 reference-other-object

2 Replies

0 Votes

avatar image

tormentoarmagedoom answered

Access object script from prefab script

Oct 9, '19 scripting problem·prefab·reference-other-object

1 Reply

0 Votes

avatar image

gregor039 commented

Access an object reference variable from parent class

Aug 31, '19 in Help Room

1 Reply

0 Votes

avatar image

captainoufo asked

Need help designing a dialogue system (or, how could I deal with referencing scene objects in ScriptableObjects?)

Aug 29, '19 in Help Room

0 Replies

0 Votes

avatar image

ssdr97 asked

Despite both scripts being in the same folder, The type or namespace could not be found

Apr 2, '19 in Help Room

0 Replies

0 Votes

avatar image

Hellium commented

Getting a " NullReferenceException: Object reference not set to an instance of an object " - Space Shooter Tutorial 14 - Counting Points

Mar 12, '19 scripting beginner·scriptingbasics·reference·referencing·reference-other-object

3 Replies

0 Votes

avatar image

xxmariofer commented

Assigning a GameObject Script Variable Before Start is Called

Mar 6, '19 instantiate·initialization·constructor·reference-other-object

1 Reply

0 Votes

avatar image

WarmedxMints commented

Script is losing references once gameobjects get disabled. How can I fix this?

Feb 26, '19 gameobject·setactive·referencing·reference-other-object

0 Replies

1 Votes

avatar image

Xavier78 rolled back

Need help how to ref this script, pls

Nov 1, '18 reference-other-object

1 Reply

0 Votes

avatar image

FoodLover195 commented

Referencing the Collision of two other objects to allow for an animation to be played on the scripted object.

Oct 22, '18 animation·fps·colliders·referencing·reference-other-object

2 Replies

0 Votes

avatar image

standinonstilts asked

Programatically generate tilemap,Programatically generate tilemap

Oct 8, '18 in Help Room

0 Replies

0 Votes

avatar image

Ermiq commented

Class hierarchy design and class comumication question.

Aug 21, '18 scritping·design-patterns·reference-other-object·practices

1 Reply

1 Votes

avatar image

WaltherEvans95 commented

Losing references with instantiate prefab

Aug 15, '18 instantiate prefab·reference-other-object

1 Reply

1 Votes

avatar image

mattseaton22 commented

How to properly setup my networked game objects

Aug 10, '18 networking·spawning·instance·reference-other-object

2 Replies

0 Votes

avatar image

MT369MT commented

Store a reference to an object with a certain boolean?

Jun 20, '18 gameobject·beginner·bool·reference-other-object

0 Replies

0 Votes

  • 1
  • 2
  • 3
  • ›

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# referencing scripting problem reference gameobject unity 5 scripting beginner variable networking nullreferenceexception animator object-reference-not-set setactive references null reference exception prefab object-reference-error getcomponent spawning instantiate methods find rotation class instantiate prefab
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges