Firstborn/Library/PackageCache/com.unity.shadergraph@12.1.8/Editor/Serialization/FakeJsonObject.cs

34 lines
583 B
C#
Raw Normal View History

2023-03-28 13:24:16 -04:00
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;
}
}
}