private void HandleSoldierLookingEvent(SoldierLookingEvent e) { if (e.PlayerGuid == PlayerGuid) { syncData.LookingPosition = e.LookingPosition; } }
private void LookingHandle(SoldierLookingEvent e) { if (e.PlayerGuid == PlayerGuid) { RotationInDegrees = Position.GetAngle(e.LookingPosition); } }
private void LookingHandle(SoldierLookingEvent e) { if (e.PlayerGuid != PlayerGuid) { return; } Aim = e.LookingPosition; UpdateRotation(); }
private void LookingHandle(SoldierLookingEvent e) { if (e.PlayerGuid != PlayerGuid) { return; } SetLookPosition(e.LookingPosition); PublishFlipEvent(); }