You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
583 B
34 lines
583 B
2 years ago
|
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;
|
||
|
}
|
||
|
}
|
||
|
}
|