We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf43b2a commit 579c007Copy full SHA for 579c007
Assets/Reflex/Components/GameObjectSelfInjector.cs
@@ -1,11 +1,12 @@
1
using System;
2
+using Reflex.Core;
3
using Reflex.Extensions;
4
using Reflex.Injectors;
5
using UnityEngine;
6
7
namespace Reflex.Components
8
{
- [DefaultExecutionOrder(int.MinValue + 1000)]
9
+ [DefaultExecutionOrder(SceneScope.ExecutionOrder + 100)] // +100 instead of +1 to leave room for other user custom components
10
internal sealed class GameObjectSelfInjector : MonoBehaviour
11
12
[SerializeField] private InjectionStrategy _injectionStrategy = InjectionStrategy.Recursive;
0 commit comments