-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add unity package to SystemGroups so it can become a dependency of an…
…other package and be more easily debugged
- Loading branch information
1 parent
aac53ea
commit 7e32f14
Showing
39 changed files
with
1,606 additions
and
1,524 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"name": "Arch.SystemGroups", | ||
"references": [], | ||
"includePlatforms": [], | ||
"excludePlatforms": [], | ||
"allowUnsafeCode": false, | ||
"overrideReferences": false, | ||
"precompiledReferences": [], | ||
"autoReferenced": true, | ||
"defineConstraints": [], | ||
"versionDefines": [], | ||
"noEngineReferences": false | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
21 changes: 11 additions & 10 deletions
21
Arch.SystemGroups/Builder/ArchSystemsWorldBuilderExtensions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
namespace Arch.SystemGroups; | ||
|
||
/// <summary> | ||
/// Publicly available extensions for the ArchSystemsWorldBuilder | ||
/// </summary> | ||
public static class ArchSystemsWorldBuilderExtensions | ||
namespace Arch.SystemGroups | ||
{ | ||
/// <summary> | ||
/// Inject a custom group into the world. It allows to create a group with custom parameters. | ||
/// Publicly available extensions for the ArchSystemsWorldBuilder | ||
/// </summary> | ||
public static ref ArchSystemsWorldBuilder<T> InjectCustomGroup<T, TGroup>(ref this ArchSystemsWorldBuilder<T> builder, TGroup group) where TGroup : CustomGroupBase<float> | ||
public static class ArchSystemsWorldBuilderExtensions | ||
{ | ||
builder.AddCustomGroup(group); | ||
return ref builder; | ||
/// <summary> | ||
/// Inject a custom group into the world. It allows to create a group with custom parameters. | ||
/// </summary> | ||
public static ref ArchSystemsWorldBuilder<T> InjectCustomGroup<T, TGroup>(ref this ArchSystemsWorldBuilder<T> builder, TGroup group) where TGroup : CustomGroupBase<float> | ||
{ | ||
builder.AddCustomGroup(group); | ||
return ref builder; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 15 additions & 14 deletions
29
Arch.SystemGroups/DefaultSystemGroups/SystemGroupsUtils.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
namespace Arch.SystemGroups.DefaultSystemGroups; | ||
|
||
/// <summary> | ||
/// System Groups Utility Functions | ||
/// </summary> | ||
public static class SystemGroupsUtils | ||
namespace Arch.SystemGroups.DefaultSystemGroups | ||
{ | ||
/// <summary> | ||
/// The number of defined system groups: | ||
/// <see cref="InitializationSystemGroup" /> | ||
/// <see cref="PhysicsSystemGroup" /> | ||
/// <see cref="PresentationSystemGroup" /> | ||
/// <see cref="SimulationSystemGroup" /> | ||
/// <see cref="PostPhysicsSystemGroup" /> | ||
/// <see cref="PostRenderingSystemGroup" /> | ||
/// System Groups Utility Functions | ||
/// </summary> | ||
public const int Count = 6; | ||
public static class SystemGroupsUtils | ||
{ | ||
/// <summary> | ||
/// The number of defined system groups: | ||
/// <see cref="InitializationSystemGroup" /> | ||
/// <see cref="PhysicsSystemGroup" /> | ||
/// <see cref="PresentationSystemGroup" /> | ||
/// <see cref="SimulationSystemGroup" /> | ||
/// <see cref="PostPhysicsSystemGroup" /> | ||
/// <see cref="PostRenderingSystemGroup" /> | ||
/// </summary> | ||
public const int Count = 6; | ||
} | ||
} |
Oops, something went wrong.