using UnityEngine;
using System.Collections;

public class WaitForRealSeconds : IEnumerator
{
	private float time;

	public WaitForRealSeconds (float time)
	{
		this.time = time;
	}

	#region IEnumerator implementation

	public bool MoveNext ()
	{
		this.time -= Time.unscaledDeltaTime;
		return (this.time > 0f);
	}

	public void Reset ()
	{
	}

	public object Current {
		get {
			return null;
		}
	}

	#endregion
}
