Version: 2021.2
LanguageEnglish
  • C#

Vector2Int.Unknown operator

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public static Vector3Int Unknown operator(Vector2Int v);

Description

Converts a Vector2Int to a Vector3Int.

Vector2Ints can be explicitly converted to Vector3Int (z is set to zero in the result).