Skip to content

Commit

Permalink
enable 3D Ball sample import button in package manager for unity sdk (#…
Browse files Browse the repository at this point in the history
…5665)

* enable 3D Ball sample import button in package manager for unity sdk

* add Samples folder

* add meta file

* fix git ignore config
  • Loading branch information
xcao65 authored Jan 13, 2022
1 parent f469f7c commit ed0aabc
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 3 deletions.
3 changes: 1 addition & 2 deletions com.unity.ml-agents/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ npm-debug.log
build.sh.meta
build.bat.meta
.idea/
!Samples/*/*.unitypackage

/[Ll]ibrary/
/Logs/
Expand All @@ -21,8 +22,6 @@ build.bat.meta
/Assets/Plugins*
/Assets/Demonstrations*
/csharp_timers.json
/Samples/
/Samples.meta

# Visual Studio 2015 cache directory
/.vs/
Expand Down
8 changes: 8 additions & 0 deletions com.unity.ml-agents/Samples.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions com.unity.ml-agents/Samples/3DBall.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions com.unity.ml-agents/Samples/3DBall/.sample.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"displayName":"3D Ball","description":"The 3D Ball sample is a simple environment that is a great for jumping into Ml-Agents to see how things work."}
7 changes: 7 additions & 0 deletions com.unity.ml-agents/Samples/3DBall/.sample.json.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
7 changes: 7 additions & 0 deletions com.unity.ml-agents/Samples/3DBall/3DBall.unitypackage.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion com.unity.ml-agents/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,12 @@
"com.unity.barracuda": "2.3.1-preview",
"com.unity.modules.imageconversion": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0"
}
},
"samples": [
{
"displayName": "3D Ball",
"description": "The 3D Ball sample is a simple environment that is a great for jumping into Ml-Agents to see how things work.",
"path": "Samples/3DBall"
}
]
}

0 comments on commit ed0aabc

Please sign in to comment.