Skip to content

Commit 20b3656

Browse files
Release V1.0.0 (#35)
# 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`
1 parent 53e043b commit 20b3656

File tree

220 files changed

+4815
-4340
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

220 files changed

+4815
-4340
lines changed

.github/workflows/buildupmpackages.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
name: Build UPM
22

33
on:
4-
push:
5-
branches:
6-
- 'main'
7-
- 'development'
84
pull_request:
95
branches:
106
- '*'
@@ -51,4 +47,8 @@ jobs:
5147
uses: realitycollective/reusableworkflows/.github/workflows/rununityunittests.yml@main
5248
with:
5349
build-target: windows
54-
unityversion: ${{ needs.Setup-Unity.outputs.unityeditorversion }}
50+
unityversion: ${{ needs.Setup-Unity.outputs.unityeditorversion }}
51+
dependencies: '[{"development": "github.com/realitycollective/com.realitycollective.buildtools.git"},{"development": "github.com/realitycollective/com.realitycollective.utilities.git"}]'
52+
secrets:
53+
GIT_USER_NAME: ${{ secrets.GIT_USER_NAME }}
54+
GIT_PAT: ${{ secrets.GIT_PAT }}

.github/workflows/publishpackages.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: Release and Tag package for Release
22

33
on:
4-
workflow_call:
4+
push:
5+
branches:
6+
- 'development'
57

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

13-
# Example flow
15+
# Development releases will package release then update development to a new release
1416

1517
jobs:
1618
release-Package:
1719
name: Up Version package and release
1820
if: github.ref == 'refs/heads/development'
1921
uses: realitycollective/reusableworkflows/.github/workflows/tagrelease.yml@main
2022
with:
21-
build-target: windows
23+
build-target: windows
24+
secrets: inherit

.npmignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.github/
2+
Tests/
3+
Tests.meta

Editor/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
// Copyright (c) RealityCollective. All rights reserved.
22
// Licensed under the MIT License. See LICENSE in the project root for license information.
33

4-
#define RealityToolkit_Service_Framework
4+
#define REALITYCOLLECTIVE_SERVICE_FRAMEWORK_EDITOR
55

66
using System.Reflection;
77

88
[assembly: AssemblyVersion("1.0.0")]
9-
[assembly: AssemblyTitle("com.realitytoolkit.service-framework")]
9+
[assembly: AssemblyTitle("com.realitycollective.service-framework")]
1010
[assembly: AssemblyCompany("Reality Collective")]
1111
[assembly: AssemblyCopyright("Copyright (c) Reality Collective. All rights reserved.")]

Editor/BaseProfileInspector.cs

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
// Copyright (c) Reality Collective. All rights reserved.
22
// Licensed under the MIT License. See LICENSE in the project root for license information.
33

4-
using RealityToolkit.ServiceFramework.Definitions;
5-
using RealityToolkit.ServiceFramework.Editor.Extensions;
6-
using RealityToolkit.ServiceFramework.Editor.Utilities;
7-
using RealityToolkit.ServiceFramework.Extensions;
4+
using RealityCollective.Editor.Extensions;
5+
using RealityCollective.Extensions;
6+
using RealityCollective.ServiceFramework.Definitions;
7+
using RealityCollective.ServiceFramework.Editor.Utilities;
88
using System;
99
using UnityEditor;
1010
using UnityEngine;
1111

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

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

8585
if (isOverrideHeader)
8686
{
8787
EditorGUILayout.HelpBox(infoBoxText, MessageType.Info);
8888
}
89-
90-
EditorGUILayout.Space();
9189
}
9290

9391
[MenuItem("CONTEXT/BaseProfile/Create Clone from Profile Values", false, 0)]

Editor/ConfigurationProperty.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
// Copyright (c) Reality Collective. All rights reserved.
22
// Licensed under the MIT License. See LICENSE in the project root for license information.
33

4-
using RealityToolkit.ServiceFramework.Definitions;
4+
using RealityCollective.Definitions.Utilities;
55
using System;
66
using UnityEditor;
77

8-
namespace RealityToolkit.ServiceFramework.Editor
8+
namespace RealityCollective.ServiceFramework.Editor
99
{
1010
internal class ConfigurationProperty
1111
{

Editor/Extensions/BaseProfileInspectorExtensions.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
// Copyright (c) Reality Collective. All rights reserved.
22
// Licensed under the MIT License. See LICENSE in the project root for license information.
33

4-
using RealityToolkit.ServiceFramework.Definitions;
5-
using RealityToolkit.ServiceFramework.Extensions;
6-
using RealityToolkit.ServiceFramework.Editor.Extensions;
4+
using RealityCollective.Editor.Extensions;
5+
using RealityCollective.Extensions;
6+
using RealityCollective.ServiceFramework.Definitions;
77
using System;
88
using UnityEditor;
99
using UnityEngine;
1010

11-
namespace RealityToolkit.ServiceFramework.Editor.Utilities
11+
namespace RealityCollective.ServiceFramework.Editor.Utilities
1212
{
1313
public static class BaseProfileInspectorExtensions
1414
{

Editor/Extensions/EditorGUILayoutExtensions.cs

-32
This file was deleted.

Editor/Extensions/ScriptableObjectExtensions.cs

-162
This file was deleted.

Editor/Extensions/SerializedPropertyExtensions.cs

-57
This file was deleted.

0 commit comments

Comments
 (0)