Vector2.this [int index]var this[index : int] : floatDescriptionAccess the x or y component using [0] or [1] respectively.
JavaScript
var p : Vector2; using UnityEngine; import UnityEngine |
|
||||
| Scripting > Runtime Classes > Vector2 | ||||
Vector2.this [int index]var this[index : int] : floatDescriptionAccess the x or y component using [0] or [1] respectively.
JavaScript
var p : Vector2; using UnityEngine; import UnityEngine |