public static T Any <T>(this System.Collections.Generic.IList <T> l)
 {
     if (l.IsNull())
     {
         throw new System.NullReferenceException();
     }
     if (l.Count.Equals(0))
     {
         throw new System.IndexOutOfRangeException();
     }
     return(l[UnityEngine.Random.Range(0, l.Count)]);
 }