diff --git a/MagicTween/Assets/MagicTween/Runtime/Core/Systems/PathTweenSystems.cs b/MagicTween/Assets/MagicTween/Runtime/Core/Systems/PathTweenSystems.cs index aed1ade..18965a5 100644 --- a/MagicTween/Assets/MagicTween/Runtime/Core/Systems/PathTweenSystems.cs +++ b/MagicTween/Assets/MagicTween/Runtime/Core/Systems/PathTweenSystems.cs @@ -57,7 +57,7 @@ protected override void OnCreate() accessorFlagsTypeHandle = SystemAPI.GetComponentTypeHandle(true); pointsTypeHandle = SystemAPI.GetBufferTypeHandle(); valueTypeHandle = SystemAPI.GetComponentTypeHandle>(); - accessorTypeHandle = SystemAPI.ManagedAPI.GetComponentTypeHandle>(true); + accessorTypeHandle = EntityManager.GetComponentTypeHandle>(true); } [BurstCompile] diff --git a/MagicTween/Assets/MagicTween/Runtime/Core/Systems/StringTweenSystems.cs b/MagicTween/Assets/MagicTween/Runtime/Core/Systems/StringTweenSystems.cs index bef65e9..93374e4 100644 --- a/MagicTween/Assets/MagicTween/Runtime/Core/Systems/StringTweenSystems.cs +++ b/MagicTween/Assets/MagicTween/Runtime/Core/Systems/StringTweenSystems.cs @@ -86,7 +86,7 @@ protected override void OnCreate() accessorFlagsTypeHandle = SystemAPI.GetComponentTypeHandle(true); startValueTypeHandle = SystemAPI.GetComponentTypeHandle>(); valueTypeHandle = SystemAPI.GetComponentTypeHandle>(); - accessorTypeHandle = SystemAPI.ManagedAPI.GetComponentTypeHandle>(true); + accessorTypeHandle = EntityManager.GetComponentTypeHandle>(true); } protected override void OnUpdate() diff --git a/MagicTween/Assets/MagicTween/Runtime/Core/Systems/TweenDelegateTranslationSystemBase.cs b/MagicTween/Assets/MagicTween/Runtime/Core/Systems/TweenDelegateTranslationSystemBase.cs index 4c1790c..d009122 100644 --- a/MagicTween/Assets/MagicTween/Runtime/Core/Systems/TweenDelegateTranslationSystemBase.cs +++ b/MagicTween/Assets/MagicTween/Runtime/Core/Systems/TweenDelegateTranslationSystemBase.cs @@ -43,8 +43,8 @@ protected override void OnCreate() accessorFlagsTypeHandle = SystemAPI.GetComponentTypeHandle(true); startValueTypeHandle = SystemAPI.GetComponentTypeHandle>(); valueTypeHandle = SystemAPI.GetComponentTypeHandle>(); - delegatesTypeHandle = SystemAPI.ManagedAPI.GetComponentTypeHandle>(true); - unsafedelegatesTypeHandle = SystemAPI.ManagedAPI.GetComponentTypeHandle>(true); + delegatesTypeHandle = EntityManager.GetComponentTypeHandle>(true); + unsafedelegatesTypeHandle = EntityManager.GetComponentTypeHandle>(true); }