文档

Unity Engine

Unity Engine

ToString

Returns the x, y, width and height of the RectInt.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

ToString()

Returns the x, y, width and height of the RectInt.
public override string ToString()

Returns

Type

Description

string

ToString(string)

Returns the x, y, width and height of the RectInt.
public string ToString(string format)

Parameters

format

A numeric format string.

Returns

Type

Description

string

ToString(string, IFormatProvider)

Returns the x, y, width and height of the RectInt.
public string ToString(string format, IFormatProvider formatProvider)

Parameters

format

A numeric format string.

formatProvider

An object that specifies culture-specific formatting.

Returns

Type

Description

string