Version: 5.3 (switch to 5.4b)
言語English
  • C#
  • JS

スクリプト言語

好きな言語を選択してください。選択した言語でスクリプトコードが表示されます。

Rect.ToString

マニュアルに切り替える
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); } }