ILua.TryReadGlobalNumber method
Reads global key as a Lua number via the tolua# stack API. Returns false (with value = 0) when the global is absent, nil, or not a number.
public bool TryReadGlobalNumber(string key, out double value)| parameter | description |
|---|---|
| key | Global name. |
| value | The decoded number, or 0 on failure. |
See Also
Section titled “See Also”- interface ILua
- namespace Stellar.Abstractions.Services