文档

Unity Engine

Unity Engine

ToString

Returns a string representation of this EntityId.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule

ToString()

Returns a string representation of this EntityId.
public override string ToString()

Returns

Type

Description

stringA string that represents this EntityId.

Remarks

The string representation is for display and debugging only. Don't store it, parse it, or use it as a serialization format.

ToString(string)

Returns a formatted string representation of this EntityId.
public string ToString(string format)

Parameters

format

A format string.

Returns

Type

Description

stringA formatted string that represents this EntityId.

Remarks

The string representation is for display and debugging only. Don't store it, parse it, or use it as a serialization format.