Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@KumoKairo
Created June 28, 2018 07:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KumoKairo/bedfd4ffb824c9a46c989b1b5622b80e to your computer and use it in GitHub Desktop.
Save KumoKairo/bedfd4ffb824c9a46c989b1b5622b80e to your computer and use it in GitHub Desktop.
dialoguePanel.DOSizeDelta(new Vector2(_dialogWeight, LayoutUtility.GetPreferredHeight(dialoguePanel) + 20f), animSettings.portraitAnimationDuration / 1.2f).OnComplete(() =>
// Второй вариант
dialoguePanel
.DOSizeDelta(
new Vector2(_dialogWeight, LayoutUtility.GetPreferredHeight(dialoguePanel) + 20f),
animSettings.portraitAnimationDuration / 1.2f)
.OnComplete(() =>
// Третий вариант
var tweener = dialoguePanel.DOSizeDelta(
new Vector2(_dialogWeight, LayoutUtility.GetPreferredHeight(dialoguePanel) + 20f),
animSettings.portraitAnimationDuration / 1.2f);
twener.OnComplete(() =>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment