scripts
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
|
||||
namespace UnityEngine
|
||||
{
|
||||
// Token: 0x0200001A RID: 26
|
||||
public sealed class WaitWhile : CustomYieldInstruction
|
||||
{
|
||||
// Token: 0x060001F6 RID: 502 RVA: 0x00005194 File Offset: 0x00003394
|
||||
public WaitWhile(Func<bool> predicate)
|
||||
{
|
||||
this.m_Predicate = predicate;
|
||||
}
|
||||
|
||||
// Token: 0x1700006C RID: 108
|
||||
// (get) Token: 0x060001F7 RID: 503 RVA: 0x000051A4 File Offset: 0x000033A4
|
||||
public override bool keepWaiting
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.m_Predicate();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0400002A RID: 42
|
||||
private Func<bool> m_Predicate;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user