This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Author : https://github.com/seekeroftheball https://gist.github.com/seekeroftheball | |
//Version : 1.1 | |
//Updated : March 2023 | |
using System.Collections.Generic; | |
namespace Seeker.Emojis | |
{ | |
/// <summary> | |
/// Lightweight static emoji library. | |
/// <para/>Note: Not all emojis will function in all parts of the Unity editor. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// using System; | |
// using System.Linq; | |
/// <summary> | |
/// Find the maximum value from a variable number of parameters of any IComparable type. | |
/// </summary> | |
/// <typeparam name="T">Type of paramaters to compare.</typeparam> | |
/// <param name="max">Variable number of parameters of any type that implements the IComparable<T> interface.</param> | |
/// <returns>The largest value from the provided parameters.</returns> | |
public T FindMax<T>(params T[] max) where T : IComparable<T> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Author : https://github.com/seekeroftheball https://gist.github.com/seekeroftheball | |
//Version : 1.0 | |
//Updated : April 2023 | |
using System; | |
using System.Collections.Concurrent; | |
using System.Threading; | |
using System.Threading.Tasks; | |
/// <summary> |