• 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

cocleu commented

How to build Unity video player

Jan 18, '14 accessing from any script·external files

1 Reply

1 Votes

avatar image

Larry-Dietz commented

Calling Function from another script not working

Dec 30, '17 in Help Room

1 Reply

0 Votes

avatar image

secondry2 commented

OBJ runtime import

Feb 23, '14 function·accessing from any script

1 Reply

1 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

William_Goodspeed commented

Changing a GameState from another Script

Apr 28, '14 c#·accessing from any script·gamestate

1 Reply

0 Votes

avatar image

Marksmir published

Restart button

Aug 8, '13 accessing from any script

7 Replies

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

uanmanarmy commented

Variable not changing when you get a reference from another script

Jul 15, '14 boolean·reference·access·accessing from any script

1 Reply

0 Votes

avatar image

Rynbernsz edited

How to check if an object has collided from another script?

Sep 4, '18 in Help Room

1 Reply

0 Votes

avatar image

MaT227 edited

Accessing Screen Space Ambient Obscurance on Runtime Closed

Apr 14, '14 accessing from any script·ssao

1 Reply

0 Votes

avatar image

Hellium commented

Change of static variable

Sep 25, '17 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

Benproductions1 answered

Trouble Accessing Script Variables of Cloned Objects

Aug 19, '13 accessing from any script

1 Reply

0 Votes

avatar image

astracat111 published

music loops specific time of the song

Oct 24, '16 audio·accessing from any script·endless loop

2 Replies

1 Votes

avatar image

TheGameLearner edited

referring static variable of existing script gives null

Aug 1, '18 in Help Room

1 Reply

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

stefan1294 commented

GameObject find returns null outside Start method

Mar 14, '14 c#·null·accessing from any script

1 Reply

0 Votes

avatar image

clunk47 edited

Trouble with calling a variable from another script

Jul 25, '13 c#·accessing from any script·another script·calculations

5 Replies

0 Votes

avatar image

Henrikues published

Check which waypoint is closer

May 5, '14 javascript·triggers·waypoints·accessing from any script·accessing scripts

1 Reply

0 Votes

avatar image

Sveyh commented

C# disable 2 diffirent scripts OnTriggerEnter

Mar 30, '14 script error·click objects·accessing from any script

1 Reply

0 Votes

avatar image

robertbu commented

How to make two scripts share same variable?

Jul 13, '13 variable·inventory·accessing from any script

1 Reply

1 Votes

avatar image

BenIV asked

Slider value not working?

Jun 16, '17 playerprefs·float·slider·value·accessing from any script

0 Replies

0 Votes

avatar image

BluesyPompanno commented

How to get damage variable from another script ?

Sep 1, '17 variables·damage·accessing from any script·sword·accessing scripts

1 Reply

1 Votes

avatar image

deodatopr edited

How to call/Execute from C# to JS?

Aug 7, '13 accessing from any script·js-c#·c# to javascript

1 Reply

0 Votes

avatar image

KnightRiderGuy edited

Can I access a Switch case from a Coroutine? Closed

Jan 16, '17 in Help Room

0 Replies

0 Votes

avatar image

LAlejandroRS published

Problema con AudioClips

Aug 27, '13 accessing from any script

0 Replies

0 Votes

avatar image

Kiwasi commented

Access variables from other Script via Properties [C#] Closed

Aug 7, '14 c#·fps·accessing from any script

1 Reply

0 Votes

avatar image

RLin answered

EnemyAi script

Apr 8, '18 accessing from any script·another script·asset path

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

meat5000 edited

Calling a variable from a different script

Nov 21, '13 accessing from any script·assign-variable

2 Replies

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