Version: 2017.3
public float this[int] ;

설명

Access the x or y component using [0] or [1] respectively.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { public Vector2 p; void Example() { p[1] = 5; } }