Skip to content

Commit ed0aabc

Browse files
authored
enable 3D Ball sample import button in package manager for unity sdk (#5665)
* enable 3D Ball sample import button in package manager for unity sdk * add Samples folder * add meta file * fix git ignore config
1 parent f469f7c commit ed0aabc

File tree

8 files changed

+40
-3
lines changed

8 files changed

+40
-3
lines changed

com.unity.ml-agents/.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ npm-debug.log
1010
build.sh.meta
1111
build.bat.meta
1212
.idea/
13+
!Samples/*/*.unitypackage
1314

1415
/[Ll]ibrary/
1516
/Logs/
@@ -21,8 +22,6 @@ build.bat.meta
2122
/Assets/Plugins*
2223
/Assets/Demonstrations*
2324
/csharp_timers.json
24-
/Samples/
25-
/Samples.meta
2625

2726
# Visual Studio 2015 cache directory
2827
/.vs/

com.unity.ml-agents/Samples.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

com.unity.ml-agents/Samples/3DBall.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
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."}

com.unity.ml-agents/Samples/3DBall/.sample.json.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
186 KB
Binary file not shown.

com.unity.ml-agents/Samples/3DBall/3DBall.unitypackage.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

com.unity.ml-agents/package.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,12 @@
88
"com.unity.barracuda": "2.3.1-preview",
99
"com.unity.modules.imageconversion": "1.0.0",
1010
"com.unity.modules.jsonserialize": "1.0.0"
11-
}
11+
},
12+
"samples": [
13+
{
14+
"displayName": "3D Ball",
15+
"description": "The 3D Ball sample is a simple environment that is a great for jumping into Ml-Agents to see how things work.",
16+
"path": "Samples/3DBall"
17+
}
18+
]
1219
}

0 commit comments

Comments
 (0)