-
Notifications
You must be signed in to change notification settings - Fork 406
/
Copy pathDrawerFieldTestNode.cs
56 lines (39 loc) · 1.36 KB
/
DrawerFieldTestNode.cs
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using GraphProcessor;
using System.Linq;
[System.Serializable, NodeMenuItem("Custom/Drawer Field Test")]
public class DrawerFieldTestNode : BaseNode
{
[Input(name = "Vector 4"), ShowAsDrawer]
public Vector4 vector4;
[Input(name = "Vector 3"), ShowAsDrawer]
public Vector3 vector3;
[Input(name = "Vector 2"), ShowAsDrawer]
public Vector2 vector2;
[Input(name = "Float"), ShowAsDrawer]
public float floatInput;
[Input(name = "Vector 3 Int"), ShowAsDrawer]
public Vector3Int vector3Int;
[Input(name = "Vector 2 Int"), ShowAsDrawer]
public Vector2Int vector2Int;
[Input(name = "Int"), ShowAsDrawer]
public int intInput;
[Input(name = "Empty")]
public int intInput2;
[Input(name = "String"), ShowAsDrawer]
public string stringInput;
[Input(name = "Color"), ShowAsDrawer]
new public Color color;
[Input(name = "Game Object"), ShowAsDrawer]
public GameObject gameObject;
[Input(name = "Animation Curve"), ShowAsDrawer]
public AnimationCurve animationCurve;
[Input(name = "Rigidbody"), ShowAsDrawer]
public Rigidbody rigidbody;
[Input("Layer Mask"), ShowAsDrawer]
public LayerMask layerMask;
public override string name => "Drawer Field Test";
protected override void Process() { }
}