Singularity/Library/PackageCache/com.unity.shadergraph@12.1.11/Editor/Serialization/FakeJsonObject.cs
2024-05-06 11:45:45 -07:00

34 lines
583 B
C#

using System;
using UnityEngine;
namespace UnityEditor.ShaderGraph.Serialization
{
[Serializable]
public class FakeJsonObject
{
[SerializeField]
string m_Type;
[SerializeField]
string m_ObjectId;
public string id
{
get => m_ObjectId;
set => m_ObjectId = value;
}
public string type
{
get => m_Type;
set => m_Type = value;
}
public void Reset()
{
m_ObjectId = null;
m_Type = null;
}
}
}