using System.Threading.Tasks; using UnityEngine; public class EventBingoBaseballFly : RewardFly { public override async Task ShowAsync(CollectionItemFly itemFly) { Vector2 direction = itemFly.destPos - itemFly.sourcePos; direction.Normalize(); transform.rotation = Quaternion.FromToRotation(Vector2.right, direction); await base.ShowAsync(itemFly); } }