mirror of
https://github.com/0x7c13/Pal3.Unity.git
synced 2026-11-26 17:38:10 +08:00
* 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.
21 lines
675 B
C#
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);
|
|
}
|
|
} |