This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
public static class VectorExtensions | |
{ | |
/// <summary> | |
/// Returns a modified version of the vector with one or more components modified | |
/// </summary> | |
/// <param name="x">X component to modify</param> | |
/// <param name="y">Y component to modify</param> | |
/// <returns>A modified version of the vector with the passed component configurations</returns> |