public string ToString ();
public string ToString (string format);

描述

对于此 Rect,返回整齐格式化的字符串。

using UnityEngine;
using System.Collections;

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