2D-Platformer/Assets/Scripts/Systems/Actor/ActorAnimationEventResetSystem.cs
2022-02-12 12:53:50 +02:00

13 lines
No EOL
316 B
C#

using Unity.Entities;
namespace DefaultNamespace
{
[UpdateInGroup(typeof(PresentationSystemGroup))]
public class ActorAnimationEventResetSystem : ComponentSystem
{
protected override void OnUpdate()
{
Entities.ForEach((ref ActorAnimationEventData e) => { e = new ActorAnimationEventData(); });
}
}
}