Rect.ToString

function ToString () : String

function ToString (format : String) : String

Description

Returns a nicely formatted string for this Rect.

JavaScript
var rect = Rect (0, 0, 10, 10);
print (rect);

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
public Rect rect = new Rect(0, 0, 10, 10);
void Example() {
print(rect);
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

public rect as Rect = Rect(0, 0, 10, 10)

def Example():
print(rect)