Make Line Rider in Unity Pt.3 - Erasing the Lines
samyam
Learn how to make the popular flash game Line Rider in Unity! This video will cover implementing erasing functionality to erase lines drawn with the line renderer.
*I showed how to use bits with layermasks but it's not recommended to do so in practice as that value can change and working with bits can be messy. I recommend assigning the Layermask directly through the Layermask object and making that a SerializeField variable which you can set from the inspector.
►Timestamps: 0:00 Intro 0:19 Erasing 0:43 Making things neater 1:06 Erasing Cont. 2:23 Raycasting 4:40 Layer Mask 5:35 Binary for Layers 7:05 Fixes 8:53 Ending
►Make Line Rider in Unity Playlist - Input System Manager: https://youtu.be/Y1BQoAmTC2s ►Source Code for Video: https://www.patreon.com/posts/41710103 ►Line Rider Image: https://www.patreon.com/posts/41593324 ►Patreon: https://www.patreon.com/samyg ►Discord Server: https://discord.gg/B9bjMxj ►Twitter: https://twitter.com/samyam_utube ►Like and Subscribe! ►Music: Fretless by Kevin MacLeod Link: https://incompetech.filmmusic.io/song/3777-fretless License: http://creativecommons.org/licenses/by/4.0/
#unity2020 #unitytutorial #linerider ... https://www.youtube.com/watch?v=GFJyKZXm0js
31287148 Bytes