Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ToString

Returns a string representation of this EntityId.
Read time 1 minuteLast updated 13 days ago

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.