28 lines
611 B
C#
28 lines
611 B
C#
using System;
|
|
|
|
namespace UnityEngine
|
|
{
|
|
// Token: 0x02000490 RID: 1168
|
|
public class WaitForSecondsRealtime : CustomYieldInstruction
|
|
{
|
|
// Token: 0x06003A7A RID: 14970 RVA: 0x00066DA8 File Offset: 0x00064FA8
|
|
public WaitForSecondsRealtime(float time)
|
|
{
|
|
this.waitTime = Time.realtimeSinceStartup + time;
|
|
}
|
|
|
|
// Token: 0x17000D53 RID: 3411
|
|
// (get) Token: 0x06003A7B RID: 14971 RVA: 0x00066DC0 File Offset: 0x00064FC0
|
|
public override bool keepWaiting
|
|
{
|
|
get
|
|
{
|
|
return Time.realtimeSinceStartup < this.waitTime;
|
|
}
|
|
}
|
|
|
|
// Token: 0x040011AF RID: 4527
|
|
private float waitTime;
|
|
}
|
|
}
|