HeavenStudio/Assets/Plugins/Starpelly/Properties/Arrays.cs

13 lines
284 B
C#
Raw Normal View History

2021-12-19 04:10:43 +00:00
using System;
namespace Starpelly.Properties
{
public static class Arrays
{
public static void Push<T>(ref T[] table, object value)
{
Array.Resize(ref table, table.Length + 1);
table.SetValue(value, table.Length - 1);
}
}
}