LostPolygon.DynamicWaterSystem.Vector2Int.Vector2Int C# (CSharp) Method

Vector2Int() public method

Initializes a new instance of the Vector2Int struct.
public Vector2Int ( Vector2 value ) : System.Runtime.InteropServices
value UnityEngine.Vector2 /// The value. ///
return System.Runtime.InteropServices
        public Vector2Int(Vector2 value) {
            x = (int) value.x;
            y = (int) value.y;
        }

Same methods

Vector2Int::Vector2Int ( int x, int y ) : System.Runtime.InteropServices