Unity Basic Part 03 Unity Camera Follow Player ~ ColorCode
Unity Basic - Camera Follow
--------------------------------------------------------------------------------------------------------------------------------------------------------
⭐ It is better to use the code used in the Update method in the LateUpdate method ⭐
void LateUpdate()
{
transform.position = player.transform.position + offset;
}
--------------------------------------------------------------------------------------------------------------------------------------------------------
Part 01 - https://youtu.be/61XcJl_vQeA
Part 02 - https://www.youtube.com/watch?v=8IE8kwiCRM4
💖 Donate Us - https://www.paypal.com/donate?hosted_button_id=BW9F3HELY6RXG
🔴 Watched the video!
🔴 Liked?
🔴 Subscribed?
Facebook Page: https://www.facebook.com/yt.colorcode
Download UnityHub: https://unity3d.com/get-unity/download
|
|
|
|
|
|
Images: https://pixabay.com
Music: https://www.bensound.com