• 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

Passing

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

Addyarb edited

Having a very strange problem passing a variable from one script to another

Sep 9, '16 nullreferenceexception·variables·passing

1 Reply

0 Votes

avatar image

Treven commented

Child not accepting variables from the parent

May 10, '16 scripting problem·variables·codepage·parent-child·passing

0 Replies

0 Votes

avatar image

8r3nd4n answered

Passing an instance of a class to different game objects

May 2, '16 passing·class object·class instance

2 Replies

1 Votes

avatar image

LeftyRighty answered

unable to pass parameters to a C# script (no GameObject)

Apr 25, '16 in Help Room

1 Reply

0 Votes

avatar image

JesusAlex commented

Array or List, Index out of range, I've tried everything.. any other way of passing a list of values of an instantiated prefab to another script

Apr 21, '16 in Help Room

1 Reply

0 Votes

avatar image

fico_cofi published

My players(cubes) passing through the ball and wols but little... Help please :)

Jan 13, '16 in Help Room

0 Replies

0 Votes

avatar image

SuperRockmen commented

How to pass arrays from one object to another?

Aug 30, '15 in Help Room

2 Replies

0 Votes

avatar image

SirMalarkey commented

What is the best way to share data across child classes? Wiki

Jul 28, '15 variables·data·classes·pass·passing

1 Reply

0 Votes

avatar image

khos85 commented

How to pass value of exsisting GameObject variable - Unity JS? Closed

Jul 17, '15 passing

0 Replies

0 Votes

avatar image

iron_attorney commented

function that returns multiple variables (in this case, lists)

Jul 13, '15 c#·function·lists·function call·passing

1 Reply

0 Votes

avatar image

Bunny83 commented

Why is passing this array causing some of its values to become null?

Jul 8, '15 c#·array·nullreferenceexception·generics·passing

2 Replies

0 Votes

avatar image

FatmaGurel published

Online peer-to-peer game: How can i store local data?

Dec 23, '15 networking·passing·storing

1 Reply

0 Votes

avatar image

intermension published

Blank scenes and prefabs after moving a project

Oct 13, '16 copy·passing·porting

2 Replies

0 Votes

avatar image

Mouton edited

How to pass float from one script to another in Unity 5? C#

Jun 6, '15 c#·passing·script reference

2 Replies

0 Votes

avatar image

vargata commented

Instantly pass other script's variable value to another.

Apr 19, '15 script.·value·passing·powerbar

2 Replies

0 Votes

avatar image

unimechanic answered

Unity Water4 looks like it can pass through objects from a distance Closed

Dec 2, '14 bug·water·through·passing·water4

1 Reply

0 Votes

avatar image

samqweqwe commented

c# passing classes through functions

Nov 24, '14 function·class·parameters·passing

2 Replies

0 Votes

avatar image

Kiwasi commented

Instantiate prefab and send it required game objects

Aug 17, '14 prefab·passing

1 Reply

0 Votes

avatar image

Friescest commented

Passing a constantly updated variable to another class

Aug 8, '14 variable·passing

1 Reply

0 Votes

avatar image

Erisat edited

How to pass string from one script to another in C#

May 10, '14 gameobject·string·passing

1 Reply

0 Votes

avatar image

sdgd edited

how to pass values through action

Feb 13, '14 c#·parameters·passing·actions

1 Reply

1 Votes

avatar image

slehmann101 commented

How should one give a gameobject to a prefab?

Feb 7, '14 gameobject·prefab·value·values·passing

1 Reply

0 Votes

avatar image

slehmann101 published

When passing a value it becomes null

Jan 28, '14 variable·value·passing·setting

0 Replies

0 Votes

avatar image

Briksins answered

Trying to pass a float value from a prefab to another script that compares values from multiple prefabs

Dec 17, '13 instantiate·prefab·variable·value·passing

1 Reply

0 Votes

avatar image

luchoscar edited

Particle Shader help Wiki

Jul 17, '14 shader·shaders·particles·particle·passing

0 Replies

0 Votes

avatar image

meat5000 edited

Why is my sphere passing through my capsule?

Oct 20, '13 collider·sphere·collisiondetection·capsule·passing

2 Replies

0 Votes

avatar image

perchik edited

How to pass objects through array?

Sep 27, '13 c#·array·passing·null referance exeption

1 Reply

0 Votes

avatar image

Kawaburd edited

Help with passing instances/members around

Aug 8, '13 classes·instances·oop·passing

0 Replies

0 Votes

avatar image

castor commented

Passing a variable by reference in javascript (using a C# script)

Jul 18, '13 javascript·variable·passing

1 Reply

0 Votes

avatar image

andrewnobody commented

Passing a variable to thread function in Javascript

Jun 25, '13 javascript·variables·threading·passing·arguments

1 Reply

0 Votes

  • ‹
  • 1
  • 2
  • 3
  • ›

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

variables variable c# gameobject instantiate value values gui parameters class collider prefab reference function collision networking javascript nullreferenceexception through classes method object scripting problem rigidbody editor


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