Class Extensions
Inheritance
System.Object
Extensions
Assembly: cs.temp.dll.dll
Syntax
public static class Extensions
Methods
RoundToUnityIntVector3(Vector3)
Declaration
public static Vector3Int RoundToUnityIntVector3(this Vector3 vector)
Parameters
Type |
Name |
Description |
Vector3 |
vector |
|
Returns
Type |
Description |
Vector3Int |
|
ToCustomIntVector2(Vector2Int)
Declaration
public static EdgarVector2Int ToCustomIntVector2(this Vector2Int vector)
Parameters
Type |
Name |
Description |
Vector2Int |
vector |
|
Returns
Type |
Description |
EdgarVector2Int |
|
ToCustomIntVector2(Vector3Int)
Declaration
public static EdgarVector2Int ToCustomIntVector2(this Vector3Int vector)
Parameters
Type |
Name |
Description |
Vector3Int |
vector |
|
Returns
Type |
Description |
EdgarVector2Int |
|
ToHashSet<T>(IEnumerable<T>, IEqualityComparer<T>)
Declaration
public static HashSet<T> ToHashSet<T>(this IEnumerable<T> source, IEqualityComparer<T> comparer = null)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<T> |
source |
|
System.Collections.Generic.IEqualityComparer<T> |
comparer |
|
Returns
Type |
Description |
HashSet<T> |
|
Type Parameters
ToUnityIntVector3(EdgarVector2Int)
Declaration
public static Vector3Int ToUnityIntVector3(this EdgarVector2Int vector)
Parameters
Type |
Name |
Description |
EdgarVector2Int |
vector |
|
Returns
Type |
Description |
Vector3Int |
|
ToVector3(EdgarVector2Int)
Declaration
public static Vector3 ToVector3(this EdgarVector2Int vector)
Parameters
Type |
Name |
Description |
EdgarVector2Int |
vector |
|
Returns