Astra.BehaviorAwaitables
Awaitable routes bound to one Behavior. The provided waits resume on the script dispatch thread. Arbitrary Tasks (Task.Run/Delay/network) do not acquire that guarantee.
Namespace: Astra · Assembly: Astra.Scripting · Tipo: Struct
Declaração
Seção intitulada “Declaração”readonly struct Astra.BehaviorAwaitablesAwaitable routes bound to one Behavior. The provided waits resume on the script dispatch thread. Arbitrary Tasks (Task.Run/Delay/network) do not acquire that guarantee.
Membros
Seção intitulada “Membros”| Membro | Categoria |
|---|---|
| FixedUpdate | Method |
| NextFrame | Method |
| Seconds | Method |
| SecondsRealtime | Method |
FixedUpdate
public Astra.BehaviorAwaitable FixedUpdate(System.Threading.CancellationToken cancellation = default(System.Threading.CancellationToken))| Parâmetro | Tipo | Contrato |
|---|---|---|
cancellation |
System.Threading.CancellationToken |
· Opcional: `` |
NextFrame
public Astra.BehaviorAwaitable NextFrame(System.Threading.CancellationToken cancellation = default(System.Threading.CancellationToken))| Parâmetro | Tipo | Contrato |
|---|---|---|
cancellation |
System.Threading.CancellationToken |
· Opcional: `` |
Seconds
public Astra.BehaviorAwaitable Seconds(double seconds, System.Threading.CancellationToken cancellation = default(System.Threading.CancellationToken))| Parâmetro | Tipo | Contrato |
|---|---|---|
seconds |
double |
|
cancellation |
System.Threading.CancellationToken |
· Opcional: `` |
SecondsRealtime
public Astra.BehaviorAwaitable SecondsRealtime(double seconds, System.Threading.CancellationToken cancellation = default(System.Threading.CancellationToken))| Parâmetro | Tipo | Contrato |
|---|---|---|
seconds |
double |
|
cancellation |
System.Threading.CancellationToken |
· Opcional: `` |