Nez.UI.TooltipManager.hideAction C# (CSharp) Méthode

hideAction() protected méthode

Called when tooltip is hidden. Default implementation sets actions to animate hiding and to remove the Element from the stage when the actions are complete.
protected hideAction ( Tooltip tooltip ) : void
tooltip Tooltip Tooltip.
Résultat void
		protected void hideAction( Tooltip tooltip )
		{
			var container = tooltip.getContainer();
			if( animations )
			{
				PropertyTweens.floatPropertyTo( container, "scaleX", 0.2f, 0.2f ).setEaseType( EaseType.QuintOut ).start();
				PropertyTweens.floatPropertyTo( container, "scaleY", 0.2f, 0.2f ).setEaseType( EaseType.QuintOut )
							  .setCompletionHandler( t => container.remove() )
							  .start();
			}
			else
			{
				container.remove();
			}
		}