A game about forced loneliness, made by TACStudios
1using System;
2using System.Collections.Generic;
3using UnityEngine;
4using UnityEditor.Graphing;
5using UnityEditor.ShaderGraph.Internal;
6using UnityEditor.ShaderGraph.Serialization;
7
8namespace UnityEditor.ShaderGraph
9{
10 [Serializable]
11 sealed class ContextData
12 {
13 [SerializeField]
14 Vector2 m_Position;
15
16 [SerializeField]
17 List<JsonRef<BlockNode>> m_Blocks = new List<JsonRef<BlockNode>>();
18
19 [NonSerialized]
20 ShaderStage m_ShaderStage;
21
22 public ContextData()
23 {
24 }
25
26 public List<JsonRef<BlockNode>> blocks => m_Blocks;
27
28 public Vector2 position
29 {
30 get => m_Position;
31 set => m_Position = value;
32 }
33
34 public ShaderStage shaderStage
35 {
36 get => m_ShaderStage;
37 set => m_ShaderStage = value;
38 }
39 }
40}