Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Is there a fast way to make a Vector's values into integers?

Discussion in 'Scripting' started by keenanwoodall, Jul 20, 2014.

  1. keenanwoodall

    keenanwoodall

    Joined:
    May 30, 2014
    Posts:
    595
    I'm working on a project and it takes forever to manually type out each part of an objects transform (x,y,z of the pos, rot, and scale) and then make int vars for each one.
     
  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    8,937
  3. keenanwoodall

    keenanwoodall

    Joined:
    May 30, 2014
    Posts:
    595