# Unity 插件目錄結構說明 ## 插件化目錄 (建議) <font color=#EE82EE size=3>每篇一句: 從整理中培養出規劃的好習慣。</font> ``` <PLUGIN_NAME>/ ├── Scripts/ │ ├── Editor (PLUGIN_NAME.Editor - Assembly) │ └── Runtime (PLUGIN_NAME.Runtime - Assembly) ├── Plugins (第三方庫, ex: dlls) ├── Samples (Demo, Prefabs)/ │ └── MovementDemo/ │ └── Scripts/ │ ├── MovementDemo.cs (Main Programme - 建議同名) │ └── MovementDemo.unity (Main Scene - 建議同名) ├── CHANGELOG.md ├── README.md └── package.json (upm 必要) ``` --- ## Unity 插件<font color=#FF4040>整理篇</font> <font color=#EE82EE size=3>每篇一句: 專案維護從你我同理心做起。</font> 建議要整理第三方插件時,使用**乾淨的 Unity 新專案**進行作業 (避免混雜到)。 | 整理前 (Before) | | 整理後 (After) | |:-:|:-:|:-:| |  |  |  | --- ## Unity 插件<font color=#FF4040>建立篇</font> <font color=#EE82EE size=3>每篇一句: 培養自動排版與條列式註解的習慣,你我的程式世界將會變得更美好。</font> 建議要製作插件時,直接建立一個**專門製作插件的 Unity 空專案**,以下為其他文章的參考。 參考文章: - [【教程】开发 Unity PackageManager 插件包](https://www.jianshu.com/p/153841d65846)
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up