Files
Cielonos/Assets/Plugins/AllIn13DShader/Editor/PropertiesConfigCollection.cs
SoulliesOfficial d94241f36c 场景设计
2026-01-12 03:22:16 -05:00

33 lines
579 B
C#

using UnityEditor;
using UnityEngine;
namespace AllIn13DShader
{
public class PropertiesConfigCollection : ScriptableObject
{
public PropertiesConfig propertiesConfig;
public void AddConfig(PropertiesConfig config)
{
this.propertiesConfig = config;
}
public PropertiesConfig FindPropertiesConfigByShader(Shader shader)
{
PropertiesConfig res = null;
res = propertiesConfig;
return res;
}
public bool IsAllIn3DShaderMaterial(Material mat)
{
bool res = false;
res = mat.shader.name.Contains("AllIn13DShader");
return res;
}
}
}