Unity Engine documentationScript ReferenceUnityEngineVector2IntxX component of the vector.阅读时间1 分钟最后更新于 1 个月前Definition Type: Property Namespace: UnityEngine Assembly: UnityEngine.CoreModule public int x { get; set; }