/// <summary> /// Gets the texture slot corresponding to the specified texture name. Shorthand for calling BackgroundTextureLoader.GetBackgroundSlot(this.Name + '/' + name). /// </summary> /// <param name="name">The name.</param> /// <returns></returns> public int GetBackgroundSlot(string name) => BackgroundTextureLoader.GetBackgroundSlot(Name + '/' + name);
/// <summary> /// Returns the slot/ID of the background texture with the given name. /// </summary> public static int GetModBackgroundSlot(string texture) => BackgroundTextureLoader.GetBackgroundSlot(texture);