浏览代码

Feature/template project structure (#38)

project template structure with README & kept only necessary packages/modules
/main
GitHub 4 年前
当前提交
209fbb65
共有 47 个文件被更改,包括 2536 次插入2 次删除
  1. 6
      Packages/manifest.json
  2. 39
      README.md
  3. 1
      .metadata/docs/terms-and-conditions.txt
  4. 35
      .metadata/images/icon.jpg
  5. 21
      .metadata/images/preview.png
  6. 16
      .metadata/metadata.yaml
  7. 124
      .yamato/upm-ci.yml
  8. 8
      Packages/com.unity.multiplayer.samples.coop/.npmignore
  9. 11
      Packages/com.unity.multiplayer.samples.coop/CHANGELOG.md
  10. 7
      Packages/com.unity.multiplayer.samples.coop/CHANGELOG.md.meta
  11. 315
      Packages/com.unity.multiplayer.samples.coop/Documentation~/images/example.png
  12. 67
      Packages/com.unity.multiplayer.samples.coop/Documentation~/images/gitlab_ci_secret_variables.png
  13. 555
      Packages/com.unity.multiplayer.samples.coop/Documentation~/images/gitlab_pipeline_download.png
  14. 483
      Packages/com.unity.multiplayer.samples.coop/Documentation~/images/gitlab_pipelines.png
  15. 448
      Packages/com.unity.multiplayer.samples.coop/Documentation~/images/template_in_new_project.png
  16. 137
      Packages/com.unity.multiplayer.samples.coop/Documentation~/index.md
  17. 5
      Packages/com.unity.multiplayer.samples.coop/LICENSE.md
  18. 7
      Packages/com.unity.multiplayer.samples.coop/LICENSE.md.meta
  19. 26
      Packages/com.unity.multiplayer.samples.coop/QAReport.md
  20. 7
      Packages/com.unity.multiplayer.samples.coop/QAReport.md.meta
  21. 39
      Packages/com.unity.multiplayer.samples.coop/README.md
  22. 7
      Packages/com.unity.multiplayer.samples.coop/README.md.meta
  23. 8
      Packages/com.unity.multiplayer.samples.coop/Tests.meta
  24. 8
      Packages/com.unity.multiplayer.samples.coop/Tests/Editor.meta
  25. 22
      Packages/com.unity.multiplayer.samples.coop/Tests/Editor/EditorExampleTest.cs
  26. 11
      Packages/com.unity.multiplayer.samples.coop/Tests/Editor/EditorExampleTest.cs.meta
  27. 12
      Packages/com.unity.multiplayer.samples.coop/Tests/Editor/EditorTests.asmdef
  28. 7
      Packages/com.unity.multiplayer.samples.coop/Tests/Editor/EditorTests.asmdef.meta
  29. 8
      Packages/com.unity.multiplayer.samples.coop/Tests/Runtime.meta
  30. 24
      Packages/com.unity.multiplayer.samples.coop/Tests/Runtime/RuntimeExampleTest.cs
  31. 11
      Packages/com.unity.multiplayer.samples.coop/Tests/Runtime/RuntimeExampleTest.cs.meta
  32. 6
      Packages/com.unity.multiplayer.samples.coop/Tests/Runtime/RuntimeTests.asmdef
  33. 7
      Packages/com.unity.multiplayer.samples.coop/Tests/Runtime/RuntimeTests.asmdef.meta
  34. 16
      Packages/com.unity.multiplayer.samples.coop/Third Party Notices.md
  35. 7
      Packages/com.unity.multiplayer.samples.coop/Third Party Notices.md.meta
  36. 20
      Packages/com.unity.multiplayer.samples.coop/package.json
  37. 7
      Packages/com.unity.multiplayer.samples.coop/package.json.meta

6
Packages/manifest.json


{
"dependencies": {
"com.unity.learn.iet-framework": "1.2.1",
"com.unity.cinemachine": "2.6.3",
"com.unity.collab-proxy": "1.3.9",
"com.unity.ide.rider": "2.0.7",

"com.unity.postprocessing": "2.3.0",
"com.unity.test-framework": "1.1.19",
"com.unity.multiplayer.multipie": "https://github.com/Unity-Technologies/com.unity.multiplayer.multipie.git",
"com.unity.postprocessing": "2.3.0",
"com.unity.test-framework": "1.1.19",
"com.unity.textmeshpro": "3.0.1",
"com.unity.timeline": "1.4.3",
"com.unity.ugui": "1.0.0",

39
README.md


# TODOs (trimmed down version of tasks listed at: https://github.cds.internal.unity3d.com/unity/com.unity.template-starter-kit)
##### Fill in your project template's package information
Update the following required fields in `Packages/com.unity.template.mytemplate/package.json`:
- `name`: Project template's package name, it should follow this naming convention: `com.unity.template.[your-template-name]`
(Example: `com.unity.template.3d`)
- `displayName`: Package user friendly display name. (Example: `"First person shooter"`). <br>__Note:__ Use a display name that will help users understand what your project template is intended for.
- `version`: Package version `X.Y.Z`, your project **must** adhere to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
- `unity`: Minimum Unity Version your project template is compatible with. (Example: `2018.3`)
- `description`: This is the description for your template which will be displayed to the user to let them know what this template is for. This description shouldn't include anything version-specific and should stay pretty consistent across template versions.
- `dependencies`: Specify the dependencies the template requires. If you add a package to your project, you should also add it here. We try to keep this list as lean as possible to avoid conflicts as much as possible.
##### Update **README.md**
The README.md file should contain all pertinent information for template developers, such as:
* Prerequisites
* External tools or development libraries
* Required installed Software
The Readme file at the root of the project should be the same as the one found in the template package folder.
##### Prepare your documentation
Rename and update **Packages/com.unity.template.mytemplate/Documentation~/your-package-name.md** documentation file.
Use this documentation template to create preliminary, high-level documentation for the _development_ of your template's package. This document is meant to introduce other developers to the features and sample files included in your project template.
Your template's documentation will be made available online and in the editor during publishing to guide our users.
##### Update the changelog
**Packages/com.unity.template.mytemplate/CHANGELOG.md**.
Every new feature or bug fix should have a trace in this file. For more details on the chosen changelog format, see [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
Changelogs will be made available online to inform users about the changes they can expect when downloading a project template. As a consequence, the changelog content should be customer friendly and present clear, meaningful information.
#### Complete the rest of the steps in the link regarding Legal & Testing

1
.metadata/docs/terms-and-conditions.txt


THIS IS THE TERMS AND CONDITIONS PLACEHOLDER

35
.metadata/images/icon.jpg

之前 之后
宽度: 269  |  高度: 195  |  大小: 8.1 KiB

21
.metadata/images/preview.png

之前 之后
宽度: 1101  |  高度: 666  |  大小: 9.8 KiB

16
.metadata/metadata.yaml


packageName: com.unity.template.xxx
name: NEW NAME
description: translationMap
icon: file://images/icon.png
previewImage: file://images/preview.png
category: Core
buildPlatform: Windows
renderPipeline: BuiltIn
termsOfService: file://docs/terms-and-conditions.txt
#extraFields: # (Optional) - A list of extra metadata that can be developer-defined as key/value pairs where value is always a string.
# - name: ageGate
# value: "12+"
translationMap:
description:
en-US: "With this template, blablabla"
zh-CN: "使用此模板,..."

124
.yamato/upm-ci.yml


target_editor:
version: 2019.4
test_editors:
- version: 2019.4
#- version: 2020.1
#- version: 2020.2
#- version: trunk
test_platforms:
- name: win
type: Unity::VM
image: package-ci/win10:stable
flavor: b1.large
- name: mac
type: Unity::VM::osx
image: package-ci/mac:stable
flavor: m1.mac
#- name: ubuntu
# type: Unity::VM
# image: package-ci/ubuntu:stable
# flavor: b1.large
# Use if Linux instance with GPU required
#- name: centos
# type: Unity::VM::GPU
# image: package-ci/centos:stable
# flavor: b1.large
---
prepack:
name: Pre-Pack - Primed Artifacts
agent:
type: Unity::VM
image: package-ci/win10:stable
flavor: b1.large
commands:
- pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade
- unity-downloader-cli -u {{target_editor.version}} -c editor -w
- .\.Editor\Unity.exe -batchmode -quit
artifacts:
primed:
paths:
- "Library/Artifacts/**"
- "Library/ArtifactDB"
- "Library/SourceAssetDB"
pack:
name: Pack
agent:
type: Unity::VM
image: package-ci/ubuntu:stable
flavor: b1.large
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- upm-ci template pack
dependencies:
- .yamato/upm-ci.yml#prepack
artifacts:
packages:
paths:
- "upm-ci~/**/*"
{% for editor in test_editors %}
{% for platform in test_platforms %}
test_{{ platform.name }}_{{ editor.version }}:
name : Test {{ editor.version }} on {{ platform.name }}
agent:
type: {{ platform.type }}
image: {{ platform.image }}
flavor: {{ platform.flavor}}
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- {% if platform.name == "centos" %}DISPLAY=:0 {% endif %}upm-ci template test -u {{ editor.version }}
artifacts:
logs:
paths:
- "upm-ci~/test-results/**/*"
dependencies:
- .yamato/upm-ci.yml#pack
{% endfor %}
{% endfor %}
test_trigger:
name: Tests Trigger
triggers:
branches:
only:
- "master"
- "dev"
- "/staging-.*/"
pull_requests:
- targets:
only:
- "/.*/"
dependencies:
- .yamato/upm-ci.yml#pack
{% for editor in test_editors %}
{% for platform in test_platforms %}
- .yamato/upm-ci.yml#test_{{platform.name}}_{{editor.version}}
{% endfor %}
{% endfor %}
publish:
name: Publish to Internal Registry
agent:
type: Unity::VM
image: package-ci/win10:stable
flavor: b1.large
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- upm-ci template publish
triggers:
tags:
only:
- /^(r|R)(c|C)-\d+\.\d+\.\d+(-preview(\.\d+)?)?$/
artifacts:
packages:
paths:
- "upm-ci~/packages/**/*"
- "upm-ci~/templates/*.tgz"
dependencies:
- .yamato/upm-ci.yml#pack
{% for editor in test_editors %}
{% for platform in test_platforms %}
- .yamato/upm-ci.yml#test_{{ platform.name }}_{{ editor.version }}
{% endfor %}
{% endfor %}

8
Packages/com.unity.multiplayer.samples.coop/.npmignore


ProjectData~/ProjectSettings/ProjectVersion.txt
ProjectData~/Assets/Scenes.meta
.npmrc
.npmignore
.gitignore
QAReport.md
QAReport.md.meta
.gitlab-ci.yml

11
Packages/com.unity.multiplayer.samples.coop/CHANGELOG.md


# Changelog
All notable changes to this project template will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
## [0.1.0] - 2020-10-09
### This is the first release of *Unity Package com.unity.template.mytemplate*.
*Short description of this release*

7
Packages/com.unity.multiplayer.samples.coop/CHANGELOG.md.meta


fileFormatVersion: 2
guid: 6f00b2d43a7ad4286a00be8b13f4a499
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

315
Packages/com.unity.multiplayer.samples.coop/Documentation~/images/example.png

之前 之后
宽度: 748  |  高度: 249  |  大小: 51 KiB

67
Packages/com.unity.multiplayer.samples.coop/Documentation~/images/gitlab_ci_secret_variables.png

之前 之后
宽度: 990  |  高度: 283  |  大小: 16 KiB

555
Packages/com.unity.multiplayer.samples.coop/Documentation~/images/gitlab_pipeline_download.png

之前 之后
宽度: 2518  |  高度: 160  |  大小: 53 KiB

483
Packages/com.unity.multiplayer.samples.coop/Documentation~/images/gitlab_pipelines.png

之前 之后
宽度: 796  |  高度: 1168  |  大小: 101 KiB

448
Packages/com.unity.multiplayer.samples.coop/Documentation~/images/template_in_new_project.png

之前 之后
宽度: 1990  |  高度: 1082  |  大小: 123 KiB

137
Packages/com.unity.multiplayer.samples.coop/Documentation~/index.md


>>>
**_Project Template Documentation_**
Use this template to create preliminary, high-level documentation meant to introduce users to the feature and the sample files included in this project template. When writing your documentation, do the following:
1. Follow instructions in blockquotes.
2. Replace angle brackets with the appropriate text. For example, replace "&lt;template name&gt;" with the official name of the project template.
3. Delete sections that do not apply to your project template. For example, a template containing only sample files does not have a "Using &lt;template name&gt;" section, so this section can be removed.
4. After documentation is completed, make sure you delete all instructions and examples in blockquotes including this preamble and its title:
```
>>>
Delete all of the text between pairs of blockquote markdown.
>>>
```
>>>
# About &lt;template name&gt;
>>>
Name the heading of the first topic after the **displayName** of the project template as it appears in the template's manifest. Check with your Product Manager to ensure that the template is named correctly.
This first topic includes a brief, high-level explanation of the project template and, if applicable, provides links to Unity Manual topics.
>>>
**_Example:_**
>>>
Here is an example for reference only. Do not include this in the final documentation file:
*The First Persion Shooter project template includes examples of First Person Shooter assets, First Person Shooter Instances, animation, GameObjects, game mechanics and scripts that will help you get started quickly with creating your own first person shooter game.*
>>>
<a name="UsingProjectTemplate"></a>
# Using &lt;template name&gt;
>>>
The contents of this section depends on the type of project template.
* At a minimum, this section should include reference documentation that describes the assets, structure, and properties that makes up the project template's content. This reference documentation should include screen grabs (see how to add screens below), a list of assets or settings, an explanation of what each asset or setting does, and the default values of each asset or setting.
* Ideally, this section should also include a workflow: a list of steps that the user can easily follow that demonstrates how to use the project template. This list of steps should include screen grabs (see how to add screens below) to better describe how to use the feature.
For project templates that include sample files, this section may include detailed information on how the user can use these sample files. Workflow diagrams or illustrations could be included if deemed appropriate.
## How to add images
*(This section is for reference. Do not include in the final documentation file)*
If the [Using &lt;template name&gt;](#UsingProjectTemplate) section includes screen grabs or diagrams, a link to the image must be added to this MD file, before or after the paragraph with the instruction or description that references the image. In addition, a caption should be added to the image link that includes the name of the screen or diagram. All images must be PNG files with underscores for spaces. No animated GIFs.
An example is included below:
![A cinematic in the Timeline Editor window.](images/example.png)
Notice that the example screen shot is included in the images folder. All screen grabs and/or diagrams must be added and referenced from the images folder.
For more on the Unity documentation standards for creating and adding screen grabs, see this confluence page: https://confluence.hq.unity3d.com/pages/viewpage.action?pageId=13500715
>>>
# Technical details
## Requirements
>>>
This subtopic includes a bullet list with the compatible versions of Unity. This subtopic may also include additional requirements or recommendations for 3rd party software or hardware. If you need to include references to non-Unity products, make sure you refer to these products correctly and that all references include the proper trademarks (tm or r)
>>>
This version of &lt;template name&gt; is compatible with the following versions of the Unity Editor:
* 2018.3 and later (recommended)
To use this project template, you must have the following 3rd party products:
* &lt;product name and version with trademark or registered trademark.&gt;
* &lt;product name and version with trademark or registered trademark.&gt;
* &lt;product name and version with trademark or registered trademark.&gt;
## Known limitations
>>>
This section lists the known limitations with this version of the project template. If there are no known limitations, or if the limitations are trivial, exclude this section. An example is provided.
>>>
&lt;template name&gt; template version &lt;template version&gt; includes the following known limitations:
* &lt;brief one-line description of first limitation.&gt;
* &lt;brief one-line description of second limitation.&gt;
* &lt;and so on&gt;
>>>
*Example (For reference. Do not include in the final documentation file):*
The First Person Shoot template version 1.0 has the following limitations:*
* The First Person Shooter template does not support sound.
* The First Person Shooter template's Recorder properties are not available in standalone players.
* MP4 encoding is only available on Windows.
>>>
## Project template contents
>>>
This section includes the location of important files you want the user to know about. For example, if this project template containing user interface, models, and materials separated by groups, you may want to provide the folder location of each group.
>>>
The following table indicates the &lt;describe the breakdown you used here&gt;:
|Location|Description|
|---|---|
|`<folder>`|Contains &lt;describe what the folder contains&gt;.|
|`<file>`|Contains &lt;describe what the file represents or implements&gt;.|
>>>
*Example (For reference. Do not include in the final documentation file):*
The following table indicates the root folder of each type of sample in this project template. Each sample's root folder contains its own folders:
|Folder Location|Description|
|---|---|
|`WoodenCrate_Orange`|Root folder containing the assets for the orange crates.|
|`Characters`|Root folder containing the assets and animators for the characters.|
|`Levels`|Root folder containing scenes for the sample game's levels.|
>>>
## Document revision history
>>>
This section includes the revision history of the document. The revision history tracks when a document is created, edited, and updated. If you create or update a document, you must add a new row describing the revision. The Documentation Team also uses this table to track when a document is edited and its editing level. An example is provided:
|Date|Reason|
|---|---|
|Sept 12, 2017|Unedited. Published to production.|
|Sept 10, 2017|Document updated for project template version 1.1.<br>New features: <li>audio support for capturing MP4s.<li>Instructions on saving Recorder prefabs|
|Sept 5, 2017|Limited edit by Documentation Team. Published to production.|
|Aug 25, 2017|Document created. Matches project template version 1.0.|
>>>

5
Packages/com.unity.multiplayer.samples.coop/LICENSE.md


com.unity.multiplayer.samples.coop copyright © 2020 Unity Technologies ApS
Licensed under the Unity Companion License for Unity-dependent projects--see [Unity Companion License](http://www.unity3d.com/legal/licenses/Unity_Companion_License).
Unless expressly provided otherwise, the Software under this license is made available strictly on an “AS IS” BASIS WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. Please review the license for details on these and other terms and conditions.

7
Packages/com.unity.multiplayer.samples.coop/LICENSE.md.meta


fileFormatVersion: 2
guid: e1f27ba539e634ffa814b5977253d779
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

26
Packages/com.unity.multiplayer.samples.coop/QAReport.md


# Quality Report
Use this file to outline the test strategy for this project template.
## Version tested: [*package version*]
## QA Owner: [*Add Name*]
## UX Owner: [*Add Name*]
## Test strategy
*Use this section to describe how this feature was tested.*
* A link to the Test Plan (Test Rails, other)
* Results from the project template's editor and runtime test suite.
* Link to automated test results (if any)
* Manual test Results, [here's an example](https://docs.google.com/spreadsheets/d/12A76U5Gf969w10KL4Ik0wC1oFIBDUoRrqIvQgD18TFo/edit#gid=0)
* Scenario test week outcome
* etc.
## Package Status
Use this section to describe:
* UX status/evaluation results
* package stability
* known bugs, issues
* performance metrics,
* etc
In other words, a general feeling on the health of this project template.

7
Packages/com.unity.multiplayer.samples.coop/QAReport.md.meta


fileFormatVersion: 2
guid: 38e03a401f2e04237aa2d319d824266c
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

39
Packages/com.unity.multiplayer.samples.coop/README.md


# TODOs (trimmed down version of tasks listed at: https://github.cds.internal.unity3d.com/unity/com.unity.template-starter-kit)
##### Fill in your project template's package information
Update the following required fields in `Packages/com.unity.template.mytemplate/package.json`:
- `name`: Project template's package name, it should follow this naming convention: `com.unity.template.[your-template-name]`
(Example: `com.unity.template.3d`)
- `displayName`: Package user friendly display name. (Example: `"First person shooter"`). <br>__Note:__ Use a display name that will help users understand what your project template is intended for.
- `version`: Package version `X.Y.Z`, your project **must** adhere to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
- `unity`: Minimum Unity Version your project template is compatible with. (Example: `2018.3`)
- `description`: This is the description for your template which will be displayed to the user to let them know what this template is for. This description shouldn't include anything version-specific and should stay pretty consistent across template versions.
- `dependencies`: Specify the dependencies the template requires. If you add a package to your project, you should also add it here. We try to keep this list as lean as possible to avoid conflicts as much as possible.
##### Update **README.md**
The README.md file should contain all pertinent information for template developers, such as:
* Prerequisites
* External tools or development libraries
* Required installed Software
The Readme file at the root of the project should be the same as the one found in the template package folder.
##### Prepare your documentation
Rename and update **Packages/com.unity.template.mytemplate/Documentation~/your-package-name.md** documentation file.
Use this documentation template to create preliminary, high-level documentation for the _development_ of your template's package. This document is meant to introduce other developers to the features and sample files included in your project template.
Your template's documentation will be made available online and in the editor during publishing to guide our users.
##### Update the changelog
**Packages/com.unity.template.mytemplate/CHANGELOG.md**.
Every new feature or bug fix should have a trace in this file. For more details on the chosen changelog format, see [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
Changelogs will be made available online to inform users about the changes they can expect when downloading a project template. As a consequence, the changelog content should be customer friendly and present clear, meaningful information.
#### Complete the rest of the steps in the link regarding Legal & Testing

7
Packages/com.unity.multiplayer.samples.coop/README.md.meta


fileFormatVersion: 2
guid: 0a4025153e1d8462296108e234c57e9a
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Packages/com.unity.multiplayer.samples.coop/Tests.meta


fileFormatVersion: 2
guid: 1977828ca0ab3cf409d003e816121b85
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Packages/com.unity.multiplayer.samples.coop/Tests/Editor.meta


fileFormatVersion: 2
guid: 638e0ab1bfc544e57b3cbfdeab499e95
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

22
Packages/com.unity.multiplayer.samples.coop/Tests/Editor/EditorExampleTest.cs


using UnityEngine;
using UnityEditor;
using UnityEngine.TestTools;
using NUnit.Framework;
using System.Collections;
class EditorExampleTest {
[Test]
public void EditorSampleTestSimplePasses() {
// Use the Assert class to test conditions.
}
// A UnityTest behaves like a coroutine in PlayMode
// and allows you to yield null to skip a frame in EditMode
[UnityTest]
public IEnumerator EditorSampleTestWithEnumeratorPasses() {
// Use the Assert class to test conditions.
// yield to skip a frame
yield return null;
}
}

11
Packages/com.unity.multiplayer.samples.coop/Tests/Editor/EditorExampleTest.cs.meta


fileFormatVersion: 2
guid: b8d2b33787b944d76bb1e7df9691df63
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

12
Packages/com.unity.multiplayer.samples.coop/Tests/Editor/EditorTests.asmdef


{
"name": "EditorTests",
"references": [
],
"optionalUnityReferences": [
"TestAssemblies"
],
"includePlatforms": [
"Editor"
],
"excludePlatforms": []
}

7
Packages/com.unity.multiplayer.samples.coop/Tests/Editor/EditorTests.asmdef.meta


fileFormatVersion: 2
guid: 46638b6bd20197743a152451f938f098
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Packages/com.unity.multiplayer.samples.coop/Tests/Runtime.meta


fileFormatVersion: 2
guid: 9c55332defd6c4db0938ccca59c5cf10
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

24
Packages/com.unity.multiplayer.samples.coop/Tests/Runtime/RuntimeExampleTest.cs


using UnityEngine;
using UnityEngine.TestTools;
using NUnit.Framework;
using System.Collections;
namespace Tests
{
public class RuntimeExampleTest
{
[Test]
public void RuntimeExampleTestSimplePasses() {
// Use the Assert class to test conditions.
}
// A UnityTest behaves like a coroutine in PlayMode
// and allows you to yield null to skip a frame in EditMode
[UnityTest]
public IEnumerator RuntimeExampleTestWithEnumeratorPasses() {
// Use the Assert class to test conditions.
// yield to skip a frame
yield return null;
}
}
}

11
Packages/com.unity.multiplayer.samples.coop/Tests/Runtime/RuntimeExampleTest.cs.meta


fileFormatVersion: 2
guid: ec1948f630ac94c45b8b10f76177580b
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

6
Packages/com.unity.multiplayer.samples.coop/Tests/Runtime/RuntimeTests.asmdef


{
"name": "RuntimeTests",
"optionalUnityReferences": [
"TestAssemblies"
]
}

7
Packages/com.unity.multiplayer.samples.coop/Tests/Runtime/RuntimeTests.asmdef.meta


fileFormatVersion: 2
guid: 6c3b676f9588f4aa18a2b77306de6976
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

16
Packages/com.unity.multiplayer.samples.coop/Third Party Notices.md


This package contains third-party software components governed by the license(s) indicated below:
---------
Component Name: [provide component name]
License Type: [Provide license type, i.e. "MIT", "Apache 2.0"]
[Provide License Details]
---------
Component Name: [provide component name]
License Type: [Provide license type, i.e. "MIT", "Apache 2.0"]
[Provide License Details]

7
Packages/com.unity.multiplayer.samples.coop/Third Party Notices.md.meta


fileFormatVersion: 2
guid: ef2dc390be95d448f8486cc72b76d010
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

20
Packages/com.unity.multiplayer.samples.coop/package.json


{
"name": "com.unity.multiplayer.samples.coop",
"displayName":"Co-op RPG",
"version": "0.1.0-preview.1",
"type": "template",
"host": "hub",
"unity": "2019.4",
"description": "Replace this string with your own description of the package. This description appears in the Package Manager window when the user selects this package from the list. \n\nFor best results, use this text to summarize: \n\u25AA What the package does \n\u25AA How it can benefit the user \n\nNote: Special formatting characters are supported, including line breaks ('\\n') and bullets ('\\u25AA').",
"dependencies": {
"com.unity.learn.iet-framework": "1.2.1",
"com.unity.multiplayer.mlapi": "0.0.1-preview.1",
"com.unity.test-framework": "1.1.19",
"com.unity.modules.ai": "1.0.0",
"com.unity.modules.animation": "1.0.0",
"com.unity.modules.particlesystem": "1.0.0",
"com.unity.modules.physics": "1.0.0",
"com.unity.modules.physics2d": "1.0.0",
"com.unity.modules.ui": "1.0.0"
}
}

7
Packages/com.unity.multiplayer.samples.coop/package.json.meta


fileFormatVersion: 2
guid: 56d97389b750f48ea944ff01992cd933
PackageManifestImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
正在加载...
取消
保存