private void OnTargetRemovedEvent(TargetingComp comp, TargetingComp.TargetData targetData)
 {
     if (targetData.ID == TargetingGlobals.MOVEMENT_TARGETING_ID)
     {
         comp.Parent.GetEntityComponent <TimelinesComp>().RemoveTimeline(TimelineGlobals.MOVEMENT_TIMELINE_ID);
     }
 }
 private void OnTargetAddedEvent(TargetingComp comp, TargetingComp.TargetData targetData)
 {
     if (targetData.ID == TargetingGlobals.MOVEMENT_TARGETING_ID)
     {
         comp.Parent.GetEntityComponent <TimelinesComp>().SetTimeline(TimelineGlobals.MOVEMENT_TIMELINE_ID, targetData.Delta.magnitude / comp.Parent.GetEntityComponent <MovementComp>().MovementSpeed);
     }
 }