update runtime code

This commit is contained in:
hevinci
2022-12-20 16:17:01 +08:00
parent 5c16171781
commit 4e759134bd
28 changed files with 302 additions and 487 deletions
@@ -16,6 +16,20 @@ namespace YooAsset
_buffer = data;
}
/// <summary>
/// 是否有效
/// </summary>
public bool IsValid
{
get
{
if (_buffer == null || _buffer.Length == 0)
return false;
else
return true;
}
}
/// <summary>
/// 缓冲区容量
/// </summary>