No Description
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.

FakeJsonObject.cs 583B

123456789101112131415161718192021222324252627282930313233
  1. using System;
  2. using UnityEngine;
  3. namespace UnityEditor.ShaderGraph.Serialization
  4. {
  5. [Serializable]
  6. public class FakeJsonObject
  7. {
  8. [SerializeField]
  9. string m_Type;
  10. [SerializeField]
  11. string m_ObjectId;
  12. public string id
  13. {
  14. get => m_ObjectId;
  15. set => m_ObjectId = value;
  16. }
  17. public string type
  18. {
  19. get => m_Type;
  20. set => m_Type = value;
  21. }
  22. public void Reset()
  23. {
  24. m_ObjectId = null;
  25. m_Type = null;
  26. }
  27. }
  28. }