top of page

Coding in unity 01

  • Writer: Zack Scanlon
    Zack Scanlon
  • Oct 5, 2020
  • 1 min read

In Unity i started by creating a empty and then applying a new script component and then creating one private float variable for speed then made two public floats for distance and time. After that I create a function for distance and time and gave them a float speed. Once that was done I divided distance by time to give me speed then wrote a print command under that.


Comments


bottom of page