Skip to content

Commit

Permalink
1.0.3 - 2019/03/14
Browse files Browse the repository at this point in the history
@2019.2
  • Loading branch information
ErikMoczi committed Mar 19, 2019
1 parent 117cb33 commit 88b0ecb
Show file tree
Hide file tree
Showing 23 changed files with 322 additions and 319 deletions.
33 changes: 15 additions & 18 deletions package/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
# Changelog
All notable changes to this package 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).

## [1.0.1] - 2019-03-04
Version 1.0.1 release.

## [1.0.0] - 2019-02-28
Version 1.0.0 release.

## [1.0.0-preview.4] - 2018-11-21
Changed assembly name to 'Unity.Subsystem.Registration'

## [1.0.0-preview.3] - 2018-10-03
Renamed to be more generic
Published to staging
# Changelog
All notable changes to this package 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).

## [1.0.3] - 2019-03-14
Verified against Unity 2019.2.

## [1.0.0-preview.4] - 2018-11-21
Changed assembly name to 'Unity.Subsystem.Registration'

## [1.0.0-preview.3] - 2018-10-03
Renamed to be more generic
Published to staging
14 changes: 7 additions & 7 deletions package/CHANGELOG.md.meta

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

18 changes: 9 additions & 9 deletions package/CONTRIBUTIONS.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Contributions

## If you are interested in contributing, here are some ground rules:
* ... Define guidelines & rules for what contributors need to know to successfully make Pull requests against your repo ...

## All contributions are subject to the [Unity Contribution Agreement(UCA)](https://unity3d.com/legal/licenses/Unity_Contribution_Agreement)
By making a pull request, you are confirming agreement to the terms and conditions of the UCA, including that your Contributions are your original creation and that you have complete right and authority to make your Contributions.

## Once you have a change ready following these ground rules. Simply make a pull request in Github
# Contributions

## If you are interested in contributing, here are some ground rules:
* ... Define guidelines & rules for what contributors need to know to successfully make Pull requests against your repo ...

## All contributions are subject to the [Unity Contribution Agreement(UCA)](https://unity3d.com/legal/licenses/Unity_Contribution_Agreement)
By making a pull request, you are confirming agreement to the terms and conditions of the UCA, including that your Contributions are your original creation and that you have complete right and authority to make your Contributions.

## Once you have a change ready following these ground rules. Simply make a pull request in Github
14 changes: 7 additions & 7 deletions package/CONTRIBUTIONS.md.meta

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

38 changes: 19 additions & 19 deletions package/Documentation~/com.unity.subsystemregistration.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# About Subsytem Registration

Provides internal API for subsystems to register themselves with the Subsystem Manager within Unity. This will allow the Subsystem Manager to keep track of and provide lifecycle management for the registered subsystem.

# How to use this package
This package is a dependency for any other packages that defines new types of subsystems, including:

[XR FaceSubsystem](https://docs.unity3d.com/Packages/[email protected])

# Requirements

This version of `com.unity.subsystemregistration` is compatible with the following versions of the Unity Editor:

* 2018.3 and later (required)





# About Subsytem Registration

Provides internal API for subsystems to register themselves with the Subsystem Manager within Unity. This will allow the Subsystem Manager to keep track of and provide lifecycle management for the registered subsystem.

# How to use this package
This package is a dependency for any other packages that defines new types of subsystems, including:

[XR FaceSubsystem](https://docs.unity3d.com/Packages/[email protected])

# Requirements

This version of `com.unity.subsystemregistration` is compatible with the following versions of the Unity Editor:

* 2018.3 and later (required)





10 changes: 5 additions & 5 deletions package/LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Subsystem Registration copyright © 2018 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.
Subsystem Registration copyright © 2018 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.
14 changes: 7 additions & 7 deletions package/LICENSE.md.meta

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

48 changes: 24 additions & 24 deletions package/README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
#Subsytem Registration

This package `com.unity.subsystemregistration` is an internal package that will be a dependency of any newly defined "standalone" subsystem. This package will allow that subsystem to register itself with the Subsystem Manager within Unity. This will let the Subsystem manager to keep track of the features exposed by the newly registered subsystem and provide lifecycle management for it.

## Installing this package

You will not normally need to install this package explicitly since it is installed as a dependency of other packages. But in case you need to install this package, follow the instructions in the [Package Manager documentation](https://docs.unity3d.com/Packages/com.unity.package-manager-ui@latest/index.html).


## Package structure

```none
<root>
├── package.json
├── README.md
├── CHANGELOG.md
├── LICENSE.md
├── Runtime
│ ├── Unity.Subsystem.Declaration.asmdef
│ └── SubsystemRegistration.cs
└── Documentation~
└── com.unity.subsystemregistration.md
```

#Subsytem Registration

This package `com.unity.subsystemregistration` is an internal package that will be a dependency of any newly defined "standalone" subsystem. This package will allow that subsystem to register itself with the Subsystem Manager within Unity. This will let the Subsystem manager to keep track of the features exposed by the newly registered subsystem and provide lifecycle management for it.

## Installing this package

You will not normally need to install this package explicitly since it is installed as a dependency of other packages. But in case you need to install this package, follow the instructions in the [Package Manager documentation](https://docs.unity3d.com/Packages/com.unity.package-manager-ui@latest/index.html).


## Package structure

```none
<root>
├── package.json
├── README.md
├── CHANGELOG.md
├── LICENSE.md
├── Runtime
│ ├── Unity.Subsystem.Declaration.asmdef
│ └── SubsystemRegistration.cs
└── Documentation~
└── com.unity.subsystemregistration.md
```

14 changes: 7 additions & 7 deletions package/README.md.meta

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

16 changes: 8 additions & 8 deletions package/Runtime.meta

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

61 changes: 29 additions & 32 deletions package/Runtime/SubsystemRegistration.cs
Original file line number Diff line number Diff line change
@@ -1,32 +1,29 @@
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Experimental;

namespace UnityEngine
{
public static class SubsystemRegistration
{
static readonly List<SubsystemDescriptor> k_SubsystemDescriptors = new List<SubsystemDescriptor>();

/// <summary>
/// Registers a <c>SubsystemDescriptor</c> with the Subsystem Manager so that features and implementation type are available.
/// </summary>
/// <param name="descriptor"> The <c>SubsystemDescriptor</c> that describes the subsystem implementation.</param>
/// <returns><c>True</c> if the descriptor does not already exist and registration happens, otherwise, <c>False</c>.</returns>
public static bool CreateDescriptor(SubsystemDescriptor descriptor)
{

foreach (var declaration in k_SubsystemDescriptors)
{
if (descriptor.subsystemImplementationType == declaration.subsystemImplementationType)
return false;
}

Internal_SubsystemDescriptors.Internal_AddDescriptor(descriptor);
k_SubsystemDescriptors.Add(descriptor);

return true;
}
}
}
using System.Collections.Generic;

namespace UnityEngine
{
public static class SubsystemRegistration
{
static readonly List<SubsystemDescriptor> k_SubsystemDescriptors = new List<SubsystemDescriptor>();

/// <summary>
/// Registers a <c>SubsystemDescriptor</c> with the Subsystem Manager so that features and implementation type are available.
/// </summary>
/// <param name="descriptor"> The <c>SubsystemDescriptor</c> that describes the subsystem implementation.</param>
/// <returns><c>True</c> if the descriptor does not already exist and registration happens, otherwise, <c>False</c>.</returns>
public static bool CreateDescriptor(SubsystemDescriptor descriptor)
{

foreach (var declaration in k_SubsystemDescriptors)
{
if (descriptor.subsystemImplementationType == declaration.subsystemImplementationType)
return false;
}

Internal_SubsystemDescriptors.Internal_AddDescriptor(descriptor);
k_SubsystemDescriptors.Add(descriptor);

return true;
}
}
}
22 changes: 11 additions & 11 deletions package/Runtime/SubsystemRegistration.cs.meta

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

14 changes: 7 additions & 7 deletions package/Runtime/Unity.Subsystem.Registration.asmdef
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "Unity.Subsystem.Registration",
"references": [],
"optionalUnityReferences": [],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false
{
"name": "Unity.Subsystem.Registration",
"references": [],
"optionalUnityReferences": [],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false
}
14 changes: 7 additions & 7 deletions package/Runtime/Unity.Subsystem.Registration.asmdef.meta

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

16 changes: 8 additions & 8 deletions package/Tests.meta

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

16 changes: 8 additions & 8 deletions package/Tests/Runtime.meta

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

Loading

0 comments on commit 88b0ecb

Please sign in to comment.