From 5d73819978beaa2172cc0cd8ab9d7c435079d9a8 Mon Sep 17 00:00:00 2001 From: hadashi Date: Fri, 23 Apr 2021 11:45:58 +0900 Subject: [PATCH] Make LifetimeScope's Script Execution order early --- VContainer/Assets/VContainer/Runtime/Unity/LifetimeScope.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/VContainer/Assets/VContainer/Runtime/Unity/LifetimeScope.cs b/VContainer/Assets/VContainer/Runtime/Unity/LifetimeScope.cs index 1093d8d1..cfda24da 100644 --- a/VContainer/Assets/VContainer/Runtime/Unity/LifetimeScope.cs +++ b/VContainer/Assets/VContainer/Runtime/Unity/LifetimeScope.cs @@ -5,6 +5,7 @@ namespace VContainer.Unity { + [DefaultExecutionOrder(-5000)] public partial class LifetimeScope : MonoBehaviour, IDisposable { public readonly struct ParentOverrideScope : IDisposable