• 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

logicandchaos answered

Access different colliders from one one script

Oct 11, '21 colliders·scriptingproblem·accessing·accessing from any script

1 Reply

0 Votes

avatar image

tomeriksson asked

Get access and Flip between different variables from GameManager

Feb 25, '18 variables·accessing from any script

0 Replies

0 Votes

avatar image

Captain_Pineapple edited

Having trouble accessing a variable in another class

Feb 1, '22 beginner·spawning problems·referencing·accessing from any script

1 Reply

0 Votes

avatar image

Wapeto answered

How to get the position of an Instantiated Object from an other script ?

Mar 8, '22 unity 5·position·instantiate prefab·accessing from any script·save game

1 Reply

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

Laiken commented

When accessing a variable from another script it is always equal to 0.

Dec 22, '20 instance·accessing from any script

1 Reply

0 Votes

avatar image

X-NopelShinobi-X published

How to access animation window buttons over script?

Jun 28, '20 in Help Room

0 Replies

0 Votes

avatar image

elifnurber asked

CS0122 'Move1.MoveClick()' is inaccessible due to its protection level. I cound not acces a funtion from another script. I got this error.

Oct 10, '20 in Help Room

0 Replies

0 Votes

avatar image

GimpG1K commented

Acess by script to prefabs

Aug 18, '16 in Help Room

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