public static T GetSingletonIncludingAssets <T> () { object obj = null; if (!singletons.TryGetValue(typeof(T), out obj)) { obj = GetSingletonIncludingAssets <T>(Object.FindObjectsOfTypeIncludingAssets(typeof(T))); } return((T)obj); }