Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • 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
  • Home /
avatar image
0
Question by ForgeStudios · Dec 29, 2014 at 10:22 PM · c#accessadvancedfolders

Accessing a script in Assets folder from Standard Assets Folder

I am trying to access functions from an asset store product I purchased through the standard assets scripting folder. The asset store item is dialoguer, it needs to stay in the asset folder because of how it's written (I tried putting in inside the plugins folder and I got alot of errors, all of the editor UI stuff stopped working too). Is there anyway I can access the script functions from dialoguer from a script like SmoothFollow.cs?

Also - Namespace wasn't helping either it wouldn't recognize it :(

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by ForgeStudios · Jan 07, 2015 at 12:51 PM

Got it! This can be solved by making a script in the base Assets folder to "link" these scripts, or in fact, and scripts. Items in the /Assets folder are checked first, if you put them in your scene they can: 1) Access any variables from any script in any folder 2) Run functions in any of the scripts from 1 3) Are compiled first

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Ony · Sep 12, 2015 at 08:58 PM 0
Share

Can you expand on this a bit? I'm trying to move as much as I can into the Standard Assets folder but getting the usual errors that always stop me from trying. What kind of script did you make to link scripts? $$anonymous$$ore info would be great.

avatar image getyour411 · Sep 12, 2015 at 09:11 PM 0
Share

@Ony - see this http://answers.unity3d.com/questions/613747/how-to-modify-variables-from-scripts-in-standard-p.html

for some tips. If that doesn't put you on the path, please open a new Question with some more details.

avatar image Ony getyour411 · Sep 12, 2015 at 09:42 PM 0
Share

Thanks for the heads-up. Right after I wrote that comment I decided to dive in and try one more time to move as much as I could to the Standard Assets folder. Assets from the store that I rarely update, etc. It took some time to do and some rearranging of the files but finally, finally after many times trying, I did it. Still going to go read the thread you linked to, so thanks for that, but yay! I finally worked it all out.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

27 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Distribute terrain in zones 3 Answers

The name 'Joystick' does not denote a valid type ('not found') 2 Answers

Multiple Cars not working 1 Answer

“via app name” link not working from Facebook Android app 0 Answers

Particle System On Key Press 2 Answers


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