Files
Pal3.Unity/Assets/Scripts/Core/DataLoader/ITextureResourceProvider.cs
T
Jackie Liu 2cc843a49d Bug fixes and tweaks + PAL3A features
* Updated charset.
* Added PAL3A new scene object enums.
* Fixed PAL3A wrong texture scaling/tiling issue for known .tga files.
* Button navigation tweaks.
* Fixed wrong material id assigning issue in Mv3ModelRenderer.
* Fixed an issue where game state is set to GamePlay when BigMap selection menu is visible.
2022-09-17 19:42:21 -07:00

21 lines
675 B
C#

// ---------------------------------------------------------------------------------------------
// Copyright (c) 2021-2022, Jiaqi Liu. All rights reserved.
// See LICENSE file in the project root for license information.
// ---------------------------------------------------------------------------------------------
namespace Core.DataLoader
{
using UnityEngine;
/// <summary>
/// Texture2D provider.
/// </summary>
public interface ITextureResourceProvider
{
string GetTexturePath(string name);
Texture2D GetTexture(string name);
Texture2D GetTexture(string name, out bool hasAlphaChannel);
}
}