unity(FPS)

UnityでFPS表示は以下の方法で出来る

http://wiki.unity3d.com/index.php?title=FramesPerSecond
ただし、最近Unity4.6になってからGUITextが廃止になった
なので、ちょっと直す必用がある

void Start()
{
if( !guiText )
{
Debug.Log("UtilityFramesPerSecond needs a GUIText component!");
enabled = false;
return;
}
timeleft = updateInterval;
}

ここのguiTextの代わりにTextを利用(vusing UnityEngine.UIも入れる)。TextをGetComponentして

using UnityEngine.UI;

void Start()
{
objText = GetComponent();
if( !objText )
{
Debug.Log("UtilityFramesPerSecond needs a Text component!");
enabled = false;
return;
}
timeleft = updateInterval;
}

こんな感じにしたらok