ArrayExtensions

Namespace: WellFired.Command.Unity.Runtime

Description

Public Static Methods

T[] SubArray ( this T[] data, int index, int length )
void Populate ( this T[] data, T value )

Breakdown

  • T[] SubArray< T > ( this T[] data, int index, int length )

    Description

    This method gets a sub section of another array.

  • void Populate< T > ( this T[] data, T value )

    Description

    Populates an array with the specified value.

    Parameters

    data The array we will populate
    value The value to populate this array with