/// <summary> /// Gets light or dark version of the specified texture. /// </summary> /// <param name="name"></param> /// <returns></returns> public static Texture2D GetTexture(ReorderableListTexture name) { if (s_Cached == null || (int)name >= s_Cached.Length) { LoadResourceAssets(); } return(s_Cached[(int)name]); }
/// <summary> /// Gets light or dark version of the specified texture. /// </summary> /// <param name="name"></param> /// <returns></returns> public static Texture2D GetTexture(ReorderableListTexture name) { return(s_Cached[(int)name]); }
/// <summary> /// Gets light or dark version of the specified texture. /// </summary> /// <param name="name"></param> /// <returns></returns> public static Texture2D GetTexture(ReorderableListTexture name) { return s_Cached[(int)name]; }
/// <summary> /// Gets light or dark version of the specified texture. /// </summary> /// <param name="name"></param> /// <returns></returns> public static Texture2D GetTexture(ReorderableListTexture name) { if (s_Cached == null || (int)name >= s_Cached.Length) LoadResourceAssets(); return s_Cached[(int)name]; }