예제 #1
0
    public static void ArrayRemoveEntry <T>(ref T[] arr, ref T entry)
    {
        int i = Lib.ArrayGetEntryIndex(ref arr, ref entry);

        if (i != -1)
        {
            Lib.ArrayRemove(ref arr, i, 1);
        }
    }