diff options
Diffstat (limited to 'Client/Assets/Behavior Designer/Runtime/Actions/Reflection/GetPropertyValue.cs')
-rw-r--r-- | Client/Assets/Behavior Designer/Runtime/Actions/Reflection/GetPropertyValue.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/GetPropertyValue.cs b/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/GetPropertyValue.cs index 63e50c26..be81eee4 100644 --- a/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/GetPropertyValue.cs +++ b/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/GetPropertyValue.cs @@ -23,19 +23,19 @@ namespace BehaviorDesigner.Runtime.Tasks public override TaskStatus OnUpdate()
{
if (propertyValue == null) {
- //Debug.LogWarning("Unable to get property - property value is null");
+ Debug.LogWarning("Unable to get property - property value is null");
return TaskStatus.Failure;
}
var type = TaskUtility.GetTypeWithinAssembly(componentName.Value);
if (type == null) {
- //Debug.LogWarning("Unable to get property - type is null");
+ Debug.LogWarning("Unable to get property - type is null");
return TaskStatus.Failure;
}
var component = GetDefaultGameObject(targetGameObject.Value).GetComponent(type);
if (component == null) {
- //Debug.LogWarning("Unable to get the property with component " + componentName.Value);
+ Debug.LogWarning("Unable to get the property with component " + componentName.Value);
return TaskStatus.Failure;
}
|