forked from eesast/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
๐ Add most training2020 files (eesast#13)
* ๐ Add most training2020 files * ๐จ Use prettier * โจ Use all-contributors * Docs: Add @duskmoon314 @boltma @zxdclyz @xxxxyu @hukz18 @Sweetnow @BowmanChow as a contributor * Add husky & lint-staged
- Loading branch information
1 parent
fb8e31d
commit b09d209
Showing
46 changed files
with
6,109 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
{ | ||
"projectName": "docs", | ||
"projectOwner": "eesast", | ||
"repoType": "github", | ||
"repoHost": "https://github.com", | ||
"files": ["README.md", "docs/intro/contributors.mdx"], | ||
"imageSize": 50, | ||
"commit": true, | ||
"commitConvention": "eslint", | ||
"contributorsPerLine": 8, | ||
"contributors": [ | ||
{ | ||
"login": "duskmoon314", | ||
"name": "Campbell He", | ||
"avatar_url": "https://avatars2.githubusercontent.com/u/20477228?v=4", | ||
"profile": "https://github.com/duskmoon314", | ||
"contributions": ["code", "doc", "infra", "maintenance"] | ||
}, | ||
{ | ||
"login": "boltma", | ||
"name": "Xiaoyang Ma", | ||
"avatar_url": "https://avatars0.githubusercontent.com/u/6150748?v=4", | ||
"profile": "https://github.com/boltma", | ||
"contributions": ["doc"] | ||
}, | ||
{ | ||
"login": "zxdclyz", | ||
"name": "lyz", | ||
"avatar_url": "https://avatars2.githubusercontent.com/u/44538240?v=4", | ||
"profile": "https://github.com/zxdclyz", | ||
"contributions": ["doc"] | ||
}, | ||
{ | ||
"login": "xxxxyu", | ||
"name": "Xiangyu Li", | ||
"avatar_url": "https://avatars3.githubusercontent.com/u/47287680?v=4", | ||
"profile": "https://github.com/xxxxyu", | ||
"contributions": ["doc"] | ||
}, | ||
{ | ||
"login": "hukz18", | ||
"name": "hukz18", | ||
"avatar_url": "https://avatars3.githubusercontent.com/u/49591637?v=4", | ||
"profile": "https://github.com/hukz18", | ||
"contributions": ["doc"] | ||
}, | ||
{ | ||
"login": "Sweetnow", | ||
"name": "Jun Zhang", | ||
"avatar_url": "https://avatars2.githubusercontent.com/u/34758767?v=4", | ||
"profile": "https://github.com/Sweetnow", | ||
"contributions": ["doc"] | ||
}, | ||
{ | ||
"login": "BowmanChow", | ||
"name": "Bowman", | ||
"avatar_url": "https://avatars1.githubusercontent.com/u/43898302?v=4", | ||
"profile": "https://github.com/BowmanChow", | ||
"contributions": ["doc"] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"es2021": true, | ||
"node": true | ||
}, | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:react/recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"prettier", | ||
"prettier/@typescript-eslint", | ||
"prettier/react" | ||
], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"ecmaFeatures": { | ||
"jsx": true | ||
}, | ||
"ecmaVersion": 12, | ||
"sourceType": "module" | ||
}, | ||
"plugins": ["react", "@typescript-eslint"], | ||
"rules": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Ignore | ||
build | ||
.docusaurus | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module.exports = { | ||
presets: [require.resolve('@docusaurus/core/lib/babel/preset')], | ||
presets: [require.resolve("@docusaurus/core/lib/babel/preset")], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
title: ๆธธๆๅผๅ็ฎไป | ||
slug: ./ | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
--- | ||
title: Unity3Dๅบ็ก | ||
--- | ||
|
||
## Unity ็ฎไป | ||
|
||
Unity ๆฏไธๆฌพ็ฑ Unity Technoligies ๅผๅ็่ทจๅนณๅฐ 2D/3D ๆธธๆๅผๆ๏ผๅนถๅฏไปฅๅๅธๅฐ Windows, MacOS, Linux, iOS ็ญ่ฏธๅคๅนณๅฐใ | ||
|
||
Unity ๅฎ็ฝ๏ผhttps://unity.com/ | ||
|
||
Unity ๅฎๆนๅญฆไน ่ตๆบ๏ผhttps://learn.unity.com/ | ||
|
||
Unity ๅฎๆนๆๆกฃ๏ผhttps://docs.unity3d.com/Manual/index.html | ||
|
||
Google/Unity Forums | ||
|
||
## Unity ๅผๅ็ฏๅข | ||
|
||
Unity ๅทฅ็จๅ Unity Editor ็ๆฌ็ฎก็๏ผUnity Hub | ||
|
||
ๅพๅฝขๅ็ผ่พ็้ข๏ผUnity Editor | ||
|
||
ไธ่ฝฝๅฐๅ๏ผhttps://unity3d.com/get-unity/download | ||
|
||
้่ฆๆณจๅ Unity ่ดฆๅทใ้็ๅฉ็ไธชไบบๅผๅ่ ๅ ่ดนไฝฟ็จใ | ||
|
||
ไปฃ็ ็ผ่พๅจ๏ผVisual Studio๏ผๅฎ่ฃ ๆถ้ๆฉ"ไฝฟ็จ Unity ็ๆธธๆๅผๅ"๏ผ๏ผVS Code๏ผๅจ Unity Editor ไธญไฟฎๆน้ป่ฎคไปฃ็ ็ผ่พๅจ๏ผ๏ผๅ ถไปใ | ||
|
||
## Unity ๅบๆฌ็ฅ่ฏ | ||
|
||
#### Scene๏ผๅบๆฏ๏ผ | ||
|
||
Scene ๅ ๅซไบ่ฅๅนฒ GameObject๏ผไธไธชๆธธๆๅฏไปฅๅ ๅซๅคไธชๅบๆฏ๏ผไธๅ็ๅบๆฏไน้ดๆฏ็ฌ็ซ็๏ผๅนถไธๅฏไปฅ้่ฟ่ๆฌๅๆขๅบๆฏใ | ||
|
||
#### GameObject๏ผๆธธๆๅฏน่ฑก๏ผ | ||
|
||
ไธไธช GameObject ๅฐฑๆฏๅบๆฏไธญ็ไธไธชๅฏน่ฑก๏ผๆฏๅฆไธไธช็๏ผไธไธชไบบ๏ผๅฎๅฏไปฅ็ฌ็ซๅฐๆดปๅจใGameObject ไน้ดๅญๅจ Parent ๅ Children ็ๅ ณ็ณป๏ผๅณไธไธชๅฏน่ฑกๅฏไปฅไปๅฑไบๅฆไธไธชๅฏน่ฑก๏ผๆไธบๅ ถๅญๅฏน่ฑกใ | ||
|
||
่ฏทๆณจๆ๏ผGameObject ไน้ด็็ถๅญๅ ณ็ณปๅนถ้็ปงๆฟๅ ณ็ณป๏ผ่ๅชๆฏไธ็งไปๅฑๅ ณ็ณปใ | ||
|
||
#### Component๏ผ็ปไปถ๏ผ | ||
|
||
ไธไธช GameObject ๅฏไปฅๆฅๆ่ฅๅนฒไธช Component๏ผไธค่ ไน้ดไปๆฏไธ็งไปๅฑๅ ณ็ณปใๆฏไธช Component ๅฏไปฅ็ฌ็ซๅฐๅฎ็ฐ GameObject ้ๆฑ็ๆไบๅ่ฝใๅธธ็จ็ๅฆ Rigid๏ผๅไฝ๏ผ๏ผAnimator๏ผๅจ็ป๏ผ็ญใ | ||
|
||
#### Prefab๏ผ้ข่ฎพ๏ผ | ||
|
||
Prefab ไธ GameObject ไน้ด็ๅ ณ็ณป็ฑปไผผไบ็ฑปๅๅฏน่ฑก็ๅ ณ็ณปใๅณๅ่ ๆฏๅ่ ็ๅฎไพใPrefab ็ไฝฟ็จ่ฝๅคๅๅฐไธๅฟ ่ฆ็้ๅคๅทฅไฝใๅฝ Prefab ่ขซไฟฎๆนๆถ๏ผๅฎ็ๆๆ GameObject ๅฎไพไนไผ่ขซไฟฎๆนใ | ||
|
||
#### Script๏ผ่ๆฌ๏ผ | ||
|
||
้่ฟ็ผๅไปฃ็ ๏ผๅนถๅฐ Script ๆทปๅ ไธบๆไธช GameObject ็ Component๏ผๅฝ่ฏฅ GameObject ่ขซๅฎไพๅๅนถไธๅคไบๆดปๅจ็ถๆ๏ผไธ่ฏฅ Component ไนๅคไบๆดปๅจ็ถๆๆถ๏ผๅฎไพฟๅฏไปฅๆงๅถ GameObject ็่กไธบใ | ||
|
||
Unity ่ๆฌๆฏๅบไบ Mono ็๏ผๆๆ้่ฆไฝฟ็จ Unity ๅผๆ็่ๆฌ๏ผ้ฝๅบ่ฏฅ็ปงๆฟ่ช MonoBehaviour ็ฑปใๆขๅฅ่ฏ่ฏด๏ผๅชๆ้ฃไบๅฎๅ จไธไพ่ตไบ Unity ๅผๆ่ฟ่กๅๅงๅๅๆดๆฐ๏ผไนไธ่ฐ็จ Unity ็ API ็่ๆฌ๏ผๆฏๅฆๅ็บฏ่ฟ่กๆฐๅญฆ่ฎก็ฎ็็ฑป๏ผๆฏไธ้่ฆ็ปงๆฟ MonoBehaviour ็ใ | ||
|
||
#### Assets๏ผ่ตๆบ๏ผ | ||
|
||
ไฝ ็ๆๆ Prefab, Script ไปฅๅ Material ็ญ่ตๆบ้ฝๅจ Assets ไธญ่ฟ่ก็ฎก็ใๅฏนไบ่งๆจก่พๅคง็ๅทฅ็จ๏ผๆปๅบ่ฏฅๅปบ็ซ่ง่็็ฎๅฝ็ปๆใ | ||
|
||
#### ๆไปฅ๏ผUnity ๆฏๅฆไฝๅทฅไฝ็๏ผ | ||
|
||
้ฆๅ ่ฆๅ ่ฝฝไธไธชๅบๆฏใๅฝๅบๆฏ่ขซๅ ่ฝฝๆถ๏ผๅบๆฏไธญ็ๆๆ GameObject ้ฝไผ่ขซๅ ่ฝฝใๅฝ GameObject ๅ ่ฝฝๆถ๏ผๅ ถๆๆ Component ไน้ไนๅฎไพๅใๅฝๆไธช Script ๅฎไพๅๆถ๏ผๅ ถ Awake()ๆนๆณๅ Start()ๆนๆณ่ขซๅ ๅ่ฐ็จ๏ผ็ป่่ฟ้ไธ่ฏด๏ผ๏ผๅฝๆๆ Start()ๆนๆณ้ฝ่ขซ่ฐ็จๅฎๆฏๅ๏ผๆธธๆไผ่ฟๅ ฅ็ฌฌไธๅธง๏ผๆฏ้ไธๆฎตๆถ้ดๅฐฑไผ Update ไธๆฌกใ | ||
|
||
## Unity ๅผๅๅฎไพ | ||
|
||
ๆไปฌๅธๆๅฎ็ฐๅฆไธไธไธช็ฎๅ็ๆธธๆ๏ผ้ฎ็ๆ็บต่ง่ฒๅจๅฐๅพไธญ็งปๅจ๏ผๅฐๅพไธญไผๅทๆฐๅพๅ็น๏ผๅฝ่ง่ฒๆฅ่งฆๅฐๅพๅ็นๆถๅฐฑๅฏไปฅๅพๅใๆธธๆ็้ขไธญๅบๆพ็คบๅฝๅ็ๆถ้ด๏ผๅๆฐ๏ผๅนถๆ้ๆฐๅผๅง๏ผ้ๅบ็ญๆ้ฎใ | ||
|
||
--- | ||
|
||
## ่ง้ขๆ็จ | ||
|
||
<div style={{ position: "relative", padding: "30% 45%" }}> | ||
<iframe | ||
style={{ | ||
position: "absolute", | ||
width: "100%", | ||
height: "100%", | ||
left: 0, | ||
top: 0, | ||
}} | ||
src="https://player.bilibili.com/player.html?aid=243753051&cid=212402150&page=9&as_wide=1&high_quality=1&danmaku=0" | ||
frameborder="no" | ||
scrolling="no" | ||
allowfullscreen="true" | ||
></iframe> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
title: ่ดก็ฎ่ ๅ่กจ | ||
--- | ||
|
||
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --> | ||
|
||
[![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square)](#contributors-) | ||
|
||
<!-- ALL-CONTRIBUTORS-BADGE:END --> | ||
|
||
## ่ดก็ฎ่ โจ | ||
|
||
ๆ่ฐข่ฏธไฝ่ดก็ฎ่ ไปฌ ([emoji key](https://allcontributors.org/docs/en/emoji-key)): | ||
|
||
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> | ||
<!-- prettier-ignore-start --> | ||
<!-- markdownlint-disable --> | ||
<table> | ||
<tr> | ||
<td align="center"><a href="https://github.com/duskmoon314"><img src="https://avatars2.githubusercontent.com/u/20477228?v=4?s=50" width="50px;" alt=""/><br /><sub><b>Campbell He</b></sub></a><br /><a href="https://github.com/eesast/docs/commits?author=duskmoon314" title="Code">๐ป</a> <a href="https://github.com/eesast/docs/commits?author=duskmoon314" title="Documentation">๐</a> <a href="#infra-duskmoon314" title="Infrastructure (Hosting, Build-Tools, etc)">๐</a> <a href="#maintenance-duskmoon314" title="Maintenance">๐ง</a></td> | ||
<td align="center"><a href="https://github.com/boltma"><img src="https://avatars0.githubusercontent.com/u/6150748?v=4?s=50" width="50px;" alt=""/><br /><sub><b>Xiaoyang Ma</b></sub></a><br /><a href="https://github.com/eesast/docs/commits?author=boltma" title="Documentation">๐</a></td> | ||
<td align="center"><a href="https://github.com/zxdclyz"><img src="https://avatars2.githubusercontent.com/u/44538240?v=4?s=50" width="50px;" alt=""/><br /><sub><b>lyz</b></sub></a><br /><a href="https://github.com/eesast/docs/commits?author=zxdclyz" title="Documentation">๐</a></td> | ||
<td align="center"><a href="https://github.com/xxxxyu"><img src="https://avatars3.githubusercontent.com/u/47287680?v=4?s=50" width="50px;" alt=""/><br /><sub><b>Xiangyu Li</b></sub></a><br /><a href="https://github.com/eesast/docs/commits?author=xxxxyu" title="Documentation">๐</a></td> | ||
<td align="center"><a href="https://github.com/hukz18"><img src="https://avatars3.githubusercontent.com/u/49591637?v=4?s=50" width="50px;" alt=""/><br /><sub><b>hukz18</b></sub></a><br /><a href="https://github.com/eesast/docs/commits?author=hukz18" title="Documentation">๐</a></td> | ||
<td align="center"><a href="https://github.com/Sweetnow"><img src="https://avatars2.githubusercontent.com/u/34758767?v=4?s=50" width="50px;" alt=""/><br /><sub><b>Jun Zhang</b></sub></a><br /><a href="https://github.com/eesast/docs/commits?author=Sweetnow" title="Documentation">๐</a></td> | ||
<td align="center"><a href="https://github.com/BowmanChow"><img src="https://avatars1.githubusercontent.com/u/43898302?v=4?s=50" width="50px;" alt=""/><br /><sub><b>Bowman</b></sub></a><br /><a href="https://github.com/eesast/docs/commits?author=BowmanChow" title="Documentation">๐</a></td> | ||
</tr> | ||
</table> | ||
|
||
<!-- markdownlint-restore --> | ||
<!-- prettier-ignore-end --> | ||
|
||
<!-- ALL-CONTRIBUTORS-LIST:END --> | ||
|
||
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! |
Oops, something went wrong.