top of page
Logo_BezNapisu_edited.jpg

Distance Calculator between objects in unity (Unity Tutorial)

  • Zdjęcie autora: FireRaccoon
    FireRaccoon
  • 14 lis 2024
  • 1 minut(y) czytania

Zaktualizowano: 11 gru 2024



lets create very easy Distance calculator between player and object in unity


►Hit the link to all Tutorials


lets create very easy and flexible System that will calculates distance between Player and Object like finish or checkpoint. I am using exactly same in my new game Unicorn Ball.


►Contents of This Video:


00:00 - intro

00:13 - Creating new Distance Calculator Script

02:35 - Create UI - Distance display with Text Mesh Pro

03:28 - End functionality


►Don't forget to Subscribe for NEW game dev videos

►I know many things may be done better not as good as Brackeys, CodeMonkeyUnity, SasquatchBgames but good as well: "if something is working cannot be bad" :)


cheers FireRaccoon Games




Scripts in .txt (just copy to your .CS script in unity)



















Kommentare


bottom of page