Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- using System.Collections;
- public static class ExtensionMethods
- {
- public static Vector2 toVector2(this Vector3 vec3)
- {
- return new Vector2(vec3.x, vec3.y);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement