- [Core] fix formatting issue with Material preview.

This commit is contained in:
Razmoth
2023-12-31 13:24:28 +04:00
parent 4b5039f6bf
commit ca36417e8c
2 changed files with 41 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
using System.Collections.Generic;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace AssetStudio
{
@@ -22,9 +23,13 @@ namespace AssetStudio
public class UnityPropertySheet
{
[JsonConverter(typeof(KVPConverter<UnityTexEnv>))]
public List<KeyValuePair<string, UnityTexEnv>> m_TexEnvs;
[JsonConverter(typeof(KVPConverter<int>))]
public List<KeyValuePair<string, int>> m_Ints;
[JsonConverter(typeof(KVPConverter<float>))]
public List<KeyValuePair<string, float>> m_Floats;
[JsonConverter(typeof(KVPConverter<Color>))]
public List<KeyValuePair<string, Color>> m_Colors;
public UnityPropertySheet(ObjectReader reader)