summaryrefslogtreecommitdiff
path: root/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/DrawRay.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2022-03-10 14:07:40 +0800
committerchai <chaifix@163.com>2022-03-10 14:07:40 +0800
commit22891bf59032ba88262824255a706d652031384b (patch)
tree7595439ba9966c9402d37e37cee5e8cf098757d5 /Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/DrawRay.cs
parent8b04ea73e540067f83870b61d89db4868fea5e8a (diff)
* move folder
Diffstat (limited to 'Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/DrawRay.cs')
-rw-r--r--Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/DrawRay.cs30
1 files changed, 0 insertions, 30 deletions
diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/DrawRay.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/DrawRay.cs
deleted file mode 100644
index 81aa823f..00000000
--- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/DrawRay.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-using UnityEngine;
-
-namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityDebug
-{
- [TaskCategory("Basic/Debug")]
- [TaskDescription("Draws a debug ray")]
- public class DrawRay : Action
- {
- [Tooltip("The position")]
- public SharedVector3 start;
- [Tooltip("The direction")]
- public SharedVector3 direction;
- [Tooltip("The color")]
- public SharedColor color = Color.white;
-
- public override TaskStatus OnUpdate()
- {
- Debug.DrawRay(start.Value, direction.Value, color.Value);
-
- return TaskStatus.Success;
- }
-
- public override void OnReset()
- {
- start = Vector3.zero;
- direction = Vector3.zero;
- color = Color.white;
- }
- }
-} \ No newline at end of file