diff --git a/Assets/UniBT/Scripts/Editor/UniBT.Editor.asmdef b/Assets/UniBT/Scripts/Editor/UniBT.Editor.asmdef new file mode 100644 index 0000000..0070c1c --- /dev/null +++ b/Assets/UniBT/Scripts/Editor/UniBT.Editor.asmdef @@ -0,0 +1,11 @@ +{ + "name": "UniBT.Editor", + "references": [ + "UniBT" + ], + "optionalUnityReferences": [], + "includePlatforms": [ + "Editor" + ], + "excludePlatforms": [] +} diff --git a/Assets/UniBT/Scripts/Editor/UniBT.Editor.asmdef.meta b/Assets/UniBT/Scripts/Editor/UniBT.Editor.asmdef.meta new file mode 100644 index 0000000..795de7e --- /dev/null +++ b/Assets/UniBT/Scripts/Editor/UniBT.Editor.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 3dad40524f69b4faab0f11e825b1b08e +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/UniBT/Scripts/Runtime/UniBT.asmdef b/Assets/UniBT/Scripts/Runtime/UniBT.asmdef new file mode 100644 index 0000000..68b1d40 --- /dev/null +++ b/Assets/UniBT/Scripts/Runtime/UniBT.asmdef @@ -0,0 +1,12 @@ +{ + "name": "UniBT", + "references": [], + "optionalUnityReferences": [], + "includePlatforms": [], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [] +} diff --git a/Assets/UniBT/Scripts/Runtime/UniBT.asmdef.meta b/Assets/UniBT/Scripts/Runtime/UniBT.asmdef.meta new file mode 100644 index 0000000..a59fea6 --- /dev/null +++ b/Assets/UniBT/Scripts/Runtime/UniBT.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 4a9214fa9d60c4c92bfc3c635010f27f +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/UniBT/Scripts/package.json b/Assets/UniBT/Scripts/package.json new file mode 100644 index 0000000..67d4de9 --- /dev/null +++ b/Assets/UniBT/Scripts/package.json @@ -0,0 +1,8 @@ +{ + "name": "com.github.yoshidan.unibt", + "displayName": "UniBT", + "version": "1.0.0", + "unity": "2019.1", + "description": "Behavior tree designer.", + "dependencies": {} +} diff --git a/Assets/UniBT/Scripts/package.json.meta b/Assets/UniBT/Scripts/package.json.meta new file mode 100644 index 0000000..450967a --- /dev/null +++ b/Assets/UniBT/Scripts/package.json.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: d6a26b80ccf304beab041e171c8b53da +PackageManifestImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/README.md b/README.md index 05ba468..8da93e1 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,18 @@ I will provide easily customizable and free designer. ## Get Started -1. [Download](https://github.com/yoshidan/UniBT/releases) and install unity package. +1. [Download](https://github.com/yoshidan/UniBT/releases) and install unity package. + Also the package can also be imported with Package Manager, by adding the following entry in your `Packages/manifest.json`: +```json +{ + "dependencies": { + ... + "com.github.yoshidan.unibt": "https://github.com/yoshidan/UniBT.git?path=Assets/UniBT/Scripts" + } +} +``` + + 2. Add `UniBT.BehaviorTree` component for any GameObject. 3. `Open Graph Editor` button opens GraphView for Behavior Tree.