[Assets] UI 애셋 및 TextMesh Pro 임포트

- Fantasy Warrior HUD 애셋 (Synty Studios)
- Interface Core 라이브러리
- TextMesh Pro 패키지
- UI_HealthBar 프리팹
This commit is contained in:
2026-03-10 15:59:20 +09:00
parent 2cc24188b3
commit a3e1315af2
5252 changed files with 1014002 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
/// Credit SimonDarksideJ
/// Updated by Synty: Renamed Unity.UI.Extensions to Synty.Interface.Extensions to avoid conflicts with Unity Ui Extensions and to pass Unity asset store submission.
using System.Collections.Generic;
using UnityEngine;
namespace Synty.Interface.Extensions
{
public static class ShaderLibrary
{
public static Dictionary<string, Shader> shaderInstances = new Dictionary<string, Shader>();
public static Shader[] preLoadedShaders;
public static Shader GetShaderInstance(string shaderName)
{
if (shaderInstances.ContainsKey(shaderName))
{
return shaderInstances[shaderName];
}
var newInstance = Shader.Find(shaderName);
if (newInstance != null)
{
shaderInstances.Add(shaderName, newInstance);
}
return newInstance;
}
}
}