16 questions
-2
votes
0
answers
49
views
LeanTween tool in Unity is not scaling or bouncing the gameobject [closed]
I have been testing the LeanTween but it not working as expected for me. I'm trying to make a bounce effect on an UI element but its not working:
LeanTween.scale(_myGameObject, new Vector3(1f, 1f, 1f),...
2
votes
0
answers
65
views
LeanTween does a stuttery animation while rotating to 180/-180 degrees
So I'm trying to make LeanTween rotate an object to 180/-180 degrees but it makes a stuttery animation while doing so.
Stuttery Rotation
Here's my code:
using System.Collections;
using System....
0
votes
1
answer
2k
views
Unity - How to scroll a scrollbar for a ScrollRect smoothly?
I have a ScrollRect to which I add content to. When it reaches the point where the content is longer than the ScrollRect (ie when the ScrollBar's value changes from 0), I want the ScrollRect to scroll ...
0
votes
1
answer
578
views
Unity LeanTween : Android - First animation delayed (UI)
When triggering a UI Animation for the first time it seems to lag for a moment, then runs the animation faster than it should. If I trigger the same animation again, it will run perfectly.
This is ...
1
vote
1
answer
4k
views
how to keep track of Lean Tween function?
I want to know the time left to complete the animation as I am using unity asset Lean Tween to scale down my time bar, so when 5 seconds are left till the time run out I want to play sound of closing ...
0
votes
0
answers
624
views
LeanTween ending on different times on same element with same time parameter
Im using LeanTween to animate an UI, the show animations works perfectly, but the hide animation is 3 times slower... any idea on what can be causing this?
My animation time is 1.5F and menuStartBtn ...
0
votes
1
answer
541
views
For loop is moving all objects at once instead of one by one
I am trying to loop a list of objects (Ads) in order to move them one after another to their target position (which is Vector3(0,0,0)). The issue is that they all move at the same time instead of ...
0
votes
2
answers
2k
views
Setting in and out easing separately
When using LeanTween for Unity to move a GameObject, is it possible to set the in and out parts of the easing separately?
What I would like to do is:
Start off slow.
Gradually increase speed from ...
5
votes
1
answer
7k
views
LeanTween not doing anything because of timescale 0. What's the work around?
Here's the problem. I set up a scoreboard, and made it so that my leantween would ease in some images (number of stars) on the scoreboard.
Here's the code that calls the void:
using System....
3
votes
5
answers
11k
views
How to fade TextMesh alpha with LeanTween?
I was looking for a way to fade the alpha value of TextMesh-Text in Unity, but I could not finde a solution online nor in the LeanTween Documentation.
LeanTween.alphaText() does only work with the ...
1
vote
1
answer
7k
views
LeanTween "from-to" value animation
I am using LeanTween as the tween plugin of my Unity Application. But it's frustrating not having a "from-to" type tweening. For an example, I want
//Set initial alpha (from 1f) before animation
var ...
0
votes
2
answers
255
views
How to change Sprite Image when it reaches 90 degrees?
I say that I am a beginner.
I have a question during the project.
I'm currently implementing a card-matching game.
When I start the game, The image is loaded from the external path (D: / ..).
My ...
0
votes
1
answer
2k
views
Untiy LeanTween easing giving me strange results
I'm using LeanTween engine and all was going well until I tried this:
LeanTween.moveY (menuPanel, 1200f, 0.5f)
.setEase (LeanTweenType.easeInOutBack);
The goal is to have the menu panel ...
0
votes
1
answer
2k
views
How to fade alpha on GameObject using Standard Shader?
How to simply fade a game object that has a Standard shader applied?
This is my code. If I switch the shader to Sprites.default it works.
public void foo(float val)
{
_isFade=true;
float ...
0
votes
2
answers
751
views
Animating scale causes halting motion with Rigidbody2D and interpolate in gravity
I ran into an issue using a scale animation on an object with a rigidbody. This problem happens with both LeanTween and iTween. The animation runs every second for a third of a second, and while the ...