Skip to content

Commit 014d1f1

Browse files
tedlioudwilches
authored andcommitted
Add Package Manifest (package.json) for Ardity (#76)
I've added a Package Manifest (package.json) to Ardity to allow Unity developers to use Package Manager to manage it. This will make it easier to install and update Ardity, as well as manage its dependencies. Changes: 1. Added package.json file to UnityProject/Assets/Ardity 2. Updated README.md file to include instructions on how to install Ardity using Package Manager
1 parent 5e1534d commit 014d1f1

32 files changed

+83
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,22 @@ If you need a program to test your Unity scene I have created the following Ardu
2121
It also recognizes two input messages and reacts to them, this is for bidirectional communication for the scene "DemoSceneUserPoll_ReadWrite".
2222
So if you want to use that scene just run it and press the keys 'A' or 'Z' to see what you Arduino has to say about it.
2323

24+
Installation
25+
============
26+
27+
You can download the code from GitHub (Code > Download ZIP) and after uncompressing, import the assets into your Unity scene.
28+
29+
30+
Alternative installation using Package Manager
31+
============
32+
33+
1. Open the Unity Package Manager by navigating to **Packages > Package Manager**.
34+
2. Click on **Packages** in the top left corner and select **Add package from git URL...**.
35+
3. Paste the following URL into the input field and click **Install**:
36+
37+
```
38+
https://github.com/dwilches/Ardity.git?path=UnityProject/Assets/Ardity
39+
```
2440

2541
Sample Arduino Program
2642
======================

UnityProject/Assets/Ardity/Scripts/Editor.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: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "Ardity.Editor",
3+
"rootNamespace": "",
4+
"references": [],
5+
"includePlatforms": [
6+
"Editor"
7+
],
8+
"excludePlatforms": [],
9+
"allowUnsafeCode": false,
10+
"overrideReferences": false,
11+
"precompiledReferences": [],
12+
"autoReferenced": true,
13+
"defineConstraints": [],
14+
"versionDefines": [],
15+
"noEngineReferences": false
16+
}

UnityProject/Assets/Ardity/Scripts/Editor/Ardity.Editor.asmdef.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.

UnityProject/Assets/Ardity/Scripts/Runtime.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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"name": "Ardity"
3+
}

UnityProject/Assets/Ardity/Scripts/Runtime/Ardity.Runtime.asmdef.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.
File renamed without changes.

UnityProject/Assets/Ardity/Scripts/Samples/SampleCustomDelimiter.cs renamed to UnityProject/Assets/Ardity/Scripts/Runtime/Samples/SampleCustomDelimiter.cs

File renamed without changes.

UnityProject/Assets/Ardity/Scripts/Samples/SampleCustomDelimiter.cs.meta renamed to UnityProject/Assets/Ardity/Scripts/Runtime/Samples/SampleCustomDelimiter.cs.meta

File renamed without changes.

0 commit comments

Comments
 (0)