[Add] FishNet

This commit is contained in:
2026-03-30 20:11:57 +07:00
parent ee793a3361
commit c22c08753a
1797 changed files with 197950 additions and 1 deletions
@@ -0,0 +1,22 @@
namespace FishNet.Utility.Performance
{
public static class RetrieveOptionExtensions
{
public static bool FastContains(this ObjectPoolRetrieveOption whole, ObjectPoolRetrieveOption part) => (whole & part) == part;
}
[System.Flags]
public enum ObjectPoolRetrieveOption
{
Unset = 0,
/// <summary>
/// True to make the object active before returning.
/// </summary>
MakeActive = 1,
/// <summary>
/// True to treat supplied transform properties as local space.
/// False will treat the properties as world space.
/// </summary>
LocalSpace = 2
}
}