Unity Engine documentationScript ReferenceUnityEngineTextAssetdataSizeThe size of the text asset data in bytes. (Read Only)阅读时间1 分钟最后更新于 1 个月前Definition Type: Property Namespace: UnityEngine Assembly: UnityEngine.CoreModule public long dataSize { get; } Remarks Additional Resources: TextAsset.GetData, TextAsset.bytes, Text Assets.