|
Rebornbuddy
|
Static Public Member Functions | |
| static float | CalculateNeededFacing (Vector3 start, Vector3 faceTarget) |
| Calculates the required facing to face a point from any other point. | |
| static float | NormalizeRadian (float radian) |
| Normalizes a radian so it's between 0 and pi * 2. | |
| static bool | IsSuccessful (this MoveResult moveResult) |
| Determines whether the specified move result is successful. | |
| static TSource | MinByOrDefault< TSource, TKey > (this IEnumerable< TSource > source, Func< TSource, TKey > keySelector) |
| Finds the minimum TSource in source based on a key. | |
|
static |
Calculates the required facing to face a point from any other point.
| start | The start point. |
| faceTarget | The end point. |
|
static |
Determines whether the specified move result is successful.
| moveResult | The move result. |
true if successful; false otherwise
|
static |
Finds the minimum TSource in source based on a key.
| TSource | The source parameter type. |
| TKey | The key type to compare the source on. |
| source | The source. |
| keySelector | A delegate that extracts a key from an item. |
| ArgumentNullException | source or keySelector are null. |
default(TSource) if source is empty.
|
static |
Normalizes a radian so it's between 0 and pi * 2.
| radian | . |