Unity 3d Lerp Scale Simple Scripting Series in C#

preview_player
Показать описание

Hello Coders, in this video Jared adds a new script to our simple scripting series! This video adds a new script that will seamlessly increase the scale of our Unity 3D gameobject using the Vector3.Lerp function. We also make use of IEnumerators in Unity to repeat the lerping of the scale that is being applied to our GameObjects in Unity!

If you have requests for our Simple Scripting Series, please leave it in the comment section.

So find some time, relax, and join our community as we learn how to create advanced functionalities within Unity3D.

--------------------------------------------

☛ Useful Resources:

--------------------------------------------

☛ Support us on Patreon and be graciously rewarded :)
⚡ Tutorial source code
⚡ Discord chat with Darren and Jared anytime.
⚡ Full tutorial project downloads.
⚡ Access exclusive tutorials.

Рекомендации по теме
Комментарии
Автор

love it! exactly what I needed to make my camera movement speed scale based on the distance from an object!

sereneyeti
Автор

Finally found a good explanation on how to do this. Appreciate it man!

DarkParadice
Автор

How would I make it grow bigger without making it go back to original size?

j.devante
Автор

How would you do this with a UI image? Move the UI Image from one position to another and have it shrink while it moves?

marriedgaming
Автор

Why do you need both a duration and a speed variable? Those should go hand in hand.

AlphaLul
Автор

can you give me a solution by using Dotween how to scale over time, I had used doScale and then oncomplete("***ScaleBack**") giving weird results

JayPatel-cdfu
Автор

A video that shows how to access the capsule colider of an Object would be neat :), lol neat

ELPIRATATUQUE
Автор

Is this applicaple in growing a plant?

princessmaepanes
Автор

how to repeat scaling of object in unity by using var

poojasharma
Автор

Off:
Is coroutine something like an asynchronous method? And yield will return the actual value?

officialRandall
Автор

HI :) Can you please make a video about calculating the distance of an object to the bottom of the screen? Cause I'm trying to make a catching game where if the player catches the ball close to the bottom of the screen the player will get a score boost :)

yzvanneguerrero
Автор

dude it made my object go massive then crashed unity! good vid though.

thecraftedmelon
Автор

I have no idea what is happening here, I have zero knowledge on C# or Unity coding so this tutorial wasn't for me...

martafonseca