ドキュメント

Unity Engine

Unity Engine

AsReadOnly()

Returns a readonly version of this NativeText instance.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public NativeText.ReadOnly AsReadOnly()

Returns

Type

Description

ReadOnlyReadOnly instance for this.

Remarks

ReadOnly containers point to the same underlying data as the NativeText it is made from. Note while ReadOnly contains methods that would write to the string data these methods will perform no writes and/or throw a NotSupportedException.