Skip to content

Commit

Permalink
Release V1.0.0 (#35)
Browse files Browse the repository at this point in the history
# Release V1.0.0 of the Service Framework

Initial Release of the Service Framework

The Service framework provides a service repository for enabling background services to run efficiently in a Unity project, it features capabilities such as:

* Platform specific operation - choose which platforms your service runs on.
* Zero Latency from Unity operations - services are fully c# based with no Unity overhead.
* Ability to host several sub-services (service modules) as part of a service, automatically maintained by a parent service and also platform aware.
Fully configurable with Scriptable profiles - Each service can host a configuration profile to change the behavior of your service without changing code.

## Requirements
* Unity 2020.3 and above
* RealityCollective.Utilities

Published via OpenUPM

> `openupm add com.realitycollective.service-framework`
  • Loading branch information
SimonDarksideJ authored Oct 28, 2022
1 parent 53e043b commit 20b3656
Show file tree
Hide file tree
Showing 220 changed files with 4,815 additions and 4,340 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/buildupmpackages.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Build UPM

on:
push:
branches:
- 'main'
- 'development'
pull_request:
branches:
- '*'
Expand Down Expand Up @@ -51,4 +47,8 @@ jobs:
uses: realitycollective/reusableworkflows/.github/workflows/rununityunittests.yml@main
with:
build-target: windows
unityversion: ${{ needs.Setup-Unity.outputs.unityeditorversion }}
unityversion: ${{ needs.Setup-Unity.outputs.unityeditorversion }}
dependencies: '[{"development": "github.com/realitycollective/com.realitycollective.buildtools.git"},{"development": "github.com/realitycollective/com.realitycollective.utilities.git"}]'
secrets:
GIT_USER_NAME: ${{ secrets.GIT_USER_NAME }}
GIT_PAT: ${{ secrets.GIT_PAT }}
9 changes: 6 additions & 3 deletions .github/workflows/publishpackages.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Release and Tag package for Release

on:
workflow_call:
push:
branches:
- 'development'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -10,12 +12,13 @@ concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

# Example flow
# Development releases will package release then update development to a new release

jobs:
release-Package:
name: Up Version package and release
if: github.ref == 'refs/heads/development'
uses: realitycollective/reusableworkflows/.github/workflows/tagrelease.yml@main
with:
build-target: windows
build-target: windows
secrets: inherit
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.github/
Tests/
Tests.meta
4 changes: 2 additions & 2 deletions Editor/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Copyright (c) RealityCollective. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.

#define RealityToolkit_Service_Framework
#define REALITYCOLLECTIVE_SERVICE_FRAMEWORK_EDITOR

using System.Reflection;

[assembly: AssemblyVersion("1.0.0")]
[assembly: AssemblyTitle("com.realitytoolkit.service-framework")]
[assembly: AssemblyTitle("com.realitycollective.service-framework")]
[assembly: AssemblyCompany("Reality Collective")]
[assembly: AssemblyCopyright("Copyright (c) Reality Collective. All rights reserved.")]
14 changes: 6 additions & 8 deletions Editor/BaseProfileInspector.cs
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
// Copyright (c) Reality Collective. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.

using RealityToolkit.ServiceFramework.Definitions;
using RealityToolkit.ServiceFramework.Editor.Extensions;
using RealityToolkit.ServiceFramework.Editor.Utilities;
using RealityToolkit.ServiceFramework.Extensions;
using RealityCollective.Editor.Extensions;
using RealityCollective.Extensions;
using RealityCollective.ServiceFramework.Definitions;
using RealityCollective.ServiceFramework.Editor.Utilities;
using System;
using UnityEditor;
using UnityEngine;

namespace RealityToolkit.ServiceFramework.Editor.Profiles
namespace RealityCollective.ServiceFramework.Editor.Profiles
{
/// <summary>
/// Base class for all <see cref="BaseProfile"/> Inspectors to inherit from.
Expand Down Expand Up @@ -80,14 +80,12 @@ protected void RenderHeader(string infoBoxText = "", Texture2D image = null)
}

EditorGUILayout.Space();
EditorGUILayout.LabelField($"{ThisProfile.name.ToProperCase()} Settings", EditorStyles.boldLabel);
ServiceFrameworkInspectorUtility.HorizontalLine(Color.gray);

if (isOverrideHeader)
{
EditorGUILayout.HelpBox(infoBoxText, MessageType.Info);
}

EditorGUILayout.Space();
}

[MenuItem("CONTEXT/BaseProfile/Create Clone from Profile Values", false, 0)]
Expand Down
4 changes: 2 additions & 2 deletions Editor/ConfigurationProperty.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Copyright (c) Reality Collective. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.

using RealityToolkit.ServiceFramework.Definitions;
using RealityCollective.Definitions.Utilities;
using System;
using UnityEditor;

namespace RealityToolkit.ServiceFramework.Editor
namespace RealityCollective.ServiceFramework.Editor
{
internal class ConfigurationProperty
{
Expand Down
8 changes: 4 additions & 4 deletions Editor/Extensions/BaseProfileInspectorExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
// Copyright (c) Reality Collective. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.

using RealityToolkit.ServiceFramework.Definitions;
using RealityToolkit.ServiceFramework.Extensions;
using RealityToolkit.ServiceFramework.Editor.Extensions;
using RealityCollective.Editor.Extensions;
using RealityCollective.Extensions;
using RealityCollective.ServiceFramework.Definitions;
using System;
using UnityEditor;
using UnityEngine;

namespace RealityToolkit.ServiceFramework.Editor.Utilities
namespace RealityCollective.ServiceFramework.Editor.Utilities
{
public static class BaseProfileInspectorExtensions
{
Expand Down
32 changes: 0 additions & 32 deletions Editor/Extensions/EditorGUILayoutExtensions.cs

This file was deleted.

162 changes: 0 additions & 162 deletions Editor/Extensions/ScriptableObjectExtensions.cs

This file was deleted.

57 changes: 0 additions & 57 deletions Editor/Extensions/SerializedPropertyExtensions.cs

This file was deleted.

Loading

0 comments on commit 20b3656

Please sign in to comment.