title: Unity: Convert Vector2 to Vector2Int
body: <p>I have a <code>Vector2</code> and I want to convert it into a <code>Vector2Int</code>. I know I could convert the <code>Vector2</code> with something like this:</p>
  
  <pre><code>Vector2 v2 = new Vector2(10, 10);
  Vector2Int v2i;
  
  v2i = new Vector2Int((int) v2.x, (int) v2.y);
  </code></pre>
  
  <p>But is there a shorter or more effective way? For example something like this:</p>
  
  <pre><code>v2i = v2.toVector2Int();
  </code></pre>