public override void Close(bool ignoreCloseAnimation = false) { base.Close(ignoreCloseAnimation); Model.OnClickSubmit.OnNext(Model); AudioController.PlayClick(); ItemMoveAnimation.Show(itemInformation.Model.item.Value.ItemBase.Value.GetIconSprite(), itemInformation.transform.position, Find <BottomMenu>().characterButton.transform.position, Vector2.one, false, true, 1f, 0.82f, ItemMoveAnimation.EndPoint.Inventory); }
private IEnumerator CoWorkshopItemMove() { var item = speechBubble.item; yield return(new WaitForSeconds(speechBubble.bubbleTweenTime)); var endPosition = Find <BottomMenu>().combinationButton.transform.position; ItemMoveAnimation.Show( item.ItemBase.Value.GetIconSprite(), speechBubble.ItemView.transform.position, endPosition, Vector2.one * 1.5f, false, false, 1f, 0, ItemMoveAnimation.EndPoint.Workshop); yield return(null); }