summaryrefslogtreecommitdiff
path: root/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/GetFieldValue.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Behavior Designer/Runtime/Actions/Reflection/GetFieldValue.cs')
-rw-r--r--Client/Assets/Behavior Designer/Runtime/Actions/Reflection/GetFieldValue.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/GetFieldValue.cs b/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/GetFieldValue.cs
index 1a4631a1..a5b31bc4 100644
--- a/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/GetFieldValue.cs
+++ b/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/GetFieldValue.cs
@@ -23,19 +23,19 @@ namespace BehaviorDesigner.Runtime.Tasks
public override TaskStatus OnUpdate()
{
if (fieldValue == null) {
- //Debug.LogWarning("Unable to get field - field value is null");
+ Debug.LogWarning("Unable to get field - field value is null");
return TaskStatus.Failure;
}
var type = TaskUtility.GetTypeWithinAssembly(componentName.Value);
if (type == null) {
- //Debug.LogWarning("Unable to get field - type is null");
+ Debug.LogWarning("Unable to get field - type is null");
return TaskStatus.Failure;
}
var component = GetDefaultGameObject(targetGameObject.Value).GetComponent(type);
if (component == null) {
- //Debug.LogWarning("Unable to get the field with component " + componentName.Value);
+ Debug.LogWarning("Unable to get the field with component " + componentName.Value);
return TaskStatus.Failure;
}