Close
    Search Search

    Service de pré-ado

    Service chargé de créer des tweens sur les instances.


    Contenu

    • Fonctions 1
      • 1.1 Instance Créer(Instance d'instance, TweenInfo tweenInfo, Dictionary propertyTable)
      • 1.2 flotteur Getvalue(alpha flottant, EasingStyle easingStyle, EasingDirection easingDirection)
    • 2 Liens externes

    Les fonctions

    Service de pré-ado Instance Créer(Instance d'instance, TweenInfo tweenInfo, Dictionary propertyTable)

    Service de pré-ado

    Résultat.



    Renvoie un Service de pré-adoTween avec le TweenInfo donné et interpolation des propriétés données dans la propertyTable de l'instance donnée.

    Exemple : Cet exemple suppose qu'il existe un Service de pré-adoPièce nommée 'Pièce' dans le Service de pré-adoEspace de travail. Cet exemple change la transparence d'une pièce à 1 sur 3 secondes avec un effet de rebond à la fin.


    local tInfo = TweenInfo.new(3,Enum.EasingStyle.Bounce,Enum.EasingDirection.Out) local tween = game:GetService("TweenService"):Create(workspace.Part,tInfo,{Transparency=1}) tween:Play ()

    Service de pré-ado flotter Getvalue(alpha flottant, EasingStyle easingStyle, EasingDirection easingDirection)

    Liens externes

    • TweenService sur Roblox Developer Hub
    • TweenService dans la référence de l'API Roblox
    ajouter un commentaire de Service de pré-ado
    Commentaire envoyé avec succès ! Nous l'examinerons dans les prochaines heures.

    End of content

    No more pages to load