using UnityEngine;
using System.Collections;
[RequireComponent(typeof(GUIText))]
public class _fpsRate : MonoBehaviour {
private GUIText test;
// Use this for initialization
void Start ()
{
test=gameObject.guiText;
}
// Update is called once per frame
void Update ()
{
float a=(int)(1/Time.deltaTime);
test.text=a.ToString();