C#
UnityEngine.EventSystems.EventSystem.current.IsPointerOverGameObject(); を使うと色々書いてあるが、これだとAndroid buildなんかでは使えない。 UnityEngine.EventSystem.current.currentSelectedGameObject != null こっちの方がマルチプラットフォー…
作っておくと、ちょっと便利 自分はテストなんかにすごく使ってます。無いと地味に困るレベル。 public static class LinqExtensions { public static T RandomAt<T>(this IEnumerable<T> ie) { if (ie.Any() == false) return default(T); return ie.ElementAt(Ra</t></t>…