Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ToString

Returns the x, y, width and height of the RectInt.
Read time 1 minuteLast updated 4 days ago

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