UnityEssentials
Small but useful tools and features for Unity
Static Public Member Functions | List of all members
UnityEngine.ICollectionExtensions Class Reference

Extensions for ICollection More...

Collaboration diagram for UnityEngine.ICollectionExtensions:
Collaboration graph

Static Public Member Functions

static T RemoveFirst< T > (this ICollection< T > collection)
 Removes the first element of the collection. More...
 

Detailed Description

Extensions for ICollection

Definition at line 9 of file ICollectionExtensions.cs.

Member Function Documentation

◆ RemoveFirst< T >()

static T UnityEngine.ICollectionExtensions.RemoveFirst< T > ( this ICollection< T >  collection)
static

Removes the first element of the collection.

Returns
Returns the removed element, or a default value if no element is found.

Definition at line 15 of file ICollectionExtensions.cs.


The documentation for this class was generated from the following file: