• 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

Accessing From Any Script

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

GregIven answered

Why wont variable in other GO get assigned?

Dec 13, '16 animationevent·state machine·accessing from any script·accessing scripts

1 Reply

0 Votes

avatar image

UnityCoach commented

Unable to access variable from other C# script?

Dec 5, '16 c#·fps·accessing from any script

1 Reply

0 Votes

avatar image

KnightRiderGuy commented

Determine Which Switch Case Was Called Last C#

Nov 17, '16 in Help Room

1 Reply

0 Votes

avatar image

mmorro1222 published

setting array elements mid-game in an array created/held by a different script Closed

Nov 13, '16 instantiate·array·bool·accessing from any script·pickups

1 Reply

0 Votes

avatar image

aditya007 commented

How to get value when trigger

Oct 22, '16 in Help Room

0 Replies

0 Votes

avatar image

Lionel_Leeser commented

Need help to understand Unity's logic or C# ?

Oct 20, '16 in Help Room

1 Reply

0 Votes

avatar image

GimpG1K commented

Acess by script to prefabs

Aug 18, '16 in Help Room

1 Reply

0 Votes

avatar image

sieg89 commented

Can't access a variable from a prefab unity script

May 27, '16 in Help Room

1 Reply

0 Votes

avatar image

Whiteleaf answered

To count deaths with global variable

Apr 29, '16 scripting problem·scriptingbasics·accessing from any script·static variable·accessing scripts

1 Reply

0 Votes

avatar image

Blue-Cut edited

How to call an enum from another script with an enum

Apr 14, '16 in Help Room

2 Replies

0 Votes

avatar image

Brocccoli commented

Accessing another scripts Variable

Mar 21, '16 in Help Room

1 Reply

1 Votes

avatar image

jinology commented

Cant access an array of scripts

Apr 25, '16 in Help Room

1 Reply

0 Votes

avatar image

EmHuynh edited

How to Reference Other Scripts' Variables in C#

Feb 16, '16 in Help Room

1 Reply

0 Votes

avatar image

Delvarn commented

Accessing script from another object

Aug 31, '20 in Help Room

1 Reply

0 Votes

avatar image

JollyBro published

Acces list from another script

Jan 18, '16 list·accessing from any script

2 Replies

0 Votes

avatar image

Fattie commented

Access List from another script Closed

Jan 16, '16 list·accessing from any script

0 Replies

0 Votes

avatar image

LazyElephant answered

How to access a variable from another C# script in Unity

Jan 10, '16 in Help Room

1 Reply

0 Votes

avatar image

KnightRiderGuy answered

Get Audio Source On Another Object Closed

Jan 5, '16 in Help Room

1 Reply

0 Votes

avatar image

KnightRiderGuy answered

Access Animation From Another Script Closed

Dec 24, '15 in Help Room

1 Reply

0 Votes

avatar image

KnightRiderGuy edited

How Do I Access Animation On Another Game Object

Dec 24, '15 in Help Room

0 Replies

0 Votes

avatar image

rahel published

"I am getting a null reference exception error for Pathfollowertest.instance.centerslot.Add(Cube.transform)

Dec 4, '15 in Help Room

0 Replies

0 Votes

avatar image

game_crusher commented

Can't acces a variable from another script

Jun 26, '15 unity 5·unity 2d·accessing from any script

1 Reply

0 Votes

avatar image

kimardamina published

Accessing variables from other scripts

Jun 19, '15 programming·variables·accessing from any script

0 Replies

0 Votes

avatar image

toddisarockstar edited

Need help accsesing a scripts variable alfter getting the script cached. Closed

Apr 18, '15 boolean·cache·accessing from any script·varible

1 Reply

0 Votes

avatar image

Addyarb commented

Decrease life from another script

Mar 31, '15 c#·variable·accessing from any script·another script·life

1 Reply

0 Votes

avatar image

NoxCaos published

Global data structure accessible by any script? Closed

Mar 8, '15 scriptingbasics·data storage·accessing from any script·globalvariables

1 Reply

0 Votes

avatar image

Abelabumba answered

How to access Instantiated GameObject's attached script's values?

Feb 4, '15 c#·instantiate·beginner·accessing from any script

1 Reply

1 Votes

avatar image

Lolgab123 commented

Problems accessing other script's variable

Jan 21, '15 c#·nullreferenceexception·runtime·public·accessing from any script

1 Reply

0 Votes

avatar image

DarthPork published

Issues accessing a variable in another script

Jan 19, '15 javascript·variable·getcomponent·accessing from any script

0 Replies

0 Votes

avatar image

Natsu_k edited

Using a function from another script

Jan 15, '15 function·accessing from any script

1 Reply

0 Votes

  • ‹
  • 1
  • 2
  • 3
  • 4
  • 5
  • ›

Followers

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# another script accessing scripts variables variable scripting problem list javascript instantiate script error getcomponent bool gameobject unity 5 access array scriptingbasics component collision nullreferenceexception inheritance classes assign-variable error prefab


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