1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- 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() {}
- }
|