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 ungoliath · Aug 05, 2010 at 04:52 PM · plugin

How do I distinguish between a *.cs and a plugin?

When I load different unity packages I get some files in the plugin folder and some not. I know this seems to be the case depending on how the package was originally created but I'm curious how to tell the difference so I can better reorganize my project.

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
2

Answer by Mike 3 · Aug 05, 2010 at 05:26 PM

If files are in the plugins folder, it's because someone wanted to use them from another language usually (e.g. c# files in there are accessible from js files outside of there).

The folder is compiled earlier than almost every other folder, so it's a good one to use for multi language projects

Note - this does not make the cs files in there plugins

Comment
Add comment · Show 2 · 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 ungoliath · Aug 05, 2010 at 06:07 PM 0
Share

So if I have multiple c# files how then do I know what's supposed to be in the plugin folder? c# is Greek to me. $$anonymous$$y best guess now is that there's classes defined in the code (assu$$anonymous$$g I can use these in another script) making it a plugin. Other than that I've no idea what to look for.

avatar image Mike 3 · Aug 05, 2010 at 06:33 PM 0
Share

Plugins are compiled dlls or bundles, nothing to do with the plugins folder besides it being a convenient place to put the native ones (You don't put managed plugins in there). To find out what c# files have to be in the plugins folder, just take them out one by one, if it complains, then it needs to be in there. The only other way is to work out which c# classes are referenced from js classes, but that'll take quite a long time

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

No one has followed this question yet.

Related Questions

Extension for Unity 1 Answer

UnityPlayer in an Android MapActivity 3 Answers

How to call a custom object from a C# dll 1 Answer

is loading files impossible in plugin? 0 Answers

Vertex color is not applied in plugin. 1 Answer


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