summaryrefslogtreecommitdiff
path: root/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/SetPropertyValue.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Behavior Designer/Runtime/Actions/Reflection/SetPropertyValue.cs')
-rw-r--r--Client/Assets/Behavior Designer/Runtime/Actions/Reflection/SetPropertyValue.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/SetPropertyValue.cs b/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/SetPropertyValue.cs
index 570aefb0..9ec7cd08 100644
--- a/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/SetPropertyValue.cs
+++ b/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/SetPropertyValue.cs
@@ -22,19 +22,19 @@ namespace BehaviorDesigner.Runtime.Tasks
public override TaskStatus OnUpdate()
{
if (propertyValue == 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 set property - type is null");
+ Debug.LogWarning("Unable to set property - type is null");
return TaskStatus.Failure;
}
var component = GetDefaultGameObject(targetGameObject.Value).GetComponent(type);
if (component == null) {
- //Debug.LogWarning("Unable to set the property with component " + componentName.Value);
+ Debug.LogWarning("Unable to set the property with component " + componentName.Value);
return TaskStatus.Failure;
}