blob: 2dd334a2c5cadfb8e0ff91cb2d5b11c2336dd6d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
using System;
namespace UnityEngine.Graphs.LogicGraph
{
[AttributeUsage(AttributeTargets.All)]
public class DefaultValueAttribute : Attribute
{
private object m_Value;
private Type m_Type;
public object value
{
get { return m_Value; }
}
public Type type
{
get { return m_Type; }
}
public DefaultValueAttribute(object value)
{
m_Value = value;
}
public DefaultValueAttribute(Type type, string value)
{
m_Value = value;
m_Type = type;
}
}
}
|