diff options
Diffstat (limited to 'Client/Assets/Behavior Designer/Runtime/Actions/Reflection/SetFieldValue.cs')
-rw-r--r-- | Client/Assets/Behavior Designer/Runtime/Actions/Reflection/SetFieldValue.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/SetFieldValue.cs b/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/SetFieldValue.cs index c0c9e2f0..79675c97 100644 --- a/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/SetFieldValue.cs +++ b/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/SetFieldValue.cs @@ -22,19 +22,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 set field - type is null");
+ Debug.LogWarning("Unable to set field - type is null");
return TaskStatus.Failure;
}
var component = GetDefaultGameObject(targetGameObject.Value).GetComponent(type);
if (component == null) {
- //Debug.LogWarning("Unable to set the field with component " + componentName.Value);
+ Debug.LogWarning("Unable to set the field with component " + componentName.Value);
return TaskStatus.Failure;
}
|