public float this[int] ;

설명

Access the x, y, z, w components using [0], [1], [2], [3] respectively.

using UnityEngine;

public class Example : MonoBehaviour { void Start() { Quaternion p = new Quaternion(); p[3] = 0.5f; // the same as p.w = 0.5 } }