Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #73 from techno-dwarf-works/dev
Browse files Browse the repository at this point in the history
Version 1.5.97: fix PlayerLoop subscribing
  • Loading branch information
OpOpYaDev committed Mar 12, 2024
1 parent cd17c1d commit 845a040
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Runtime/Utility/PlayerLoopUtility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public static void SubscribeToLoop(Type loopType, PlayerLoopSystem.UpdateFunctio
}

var currentSystem = PlayerLoop.GetCurrentPlayerLoop();
ref var loopSystem = ref currentSystem.GetSubSystem(loopType);
ref var loopSystem = ref currentSystem.GetSubSystemRecursive(loopType);
if (loopSystem.type != loopType)
{
var message = $"Not found {nameof(loopType)}({loopType.Name})";
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.uurha.betterextensions",
"displayName": "Better Extensions",
"version": "1.5.96",
"version": "1.5.97",
"unity": "2021.3",
"description": "Unity extensions, serialize extension, async extension, string extension and UI extensions",
"dependencies": {
Expand Down

0 comments on commit 845a040

Please sign in to comment.