Singularity/Library/PackageCache/com.unity.shadergraph@12.1.11/Editor/Serialization/FakeJsonObject.cs

34 lines
583 B
C#
Raw Normal View History

2024-05-06 14:45:45 -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;
}
}
}