diff options
Diffstat (limited to 'Client/Assets/Behavior Designer/Runtime/Actions/Reflection/InvokeMethod.cs')
-rw-r--r-- | Client/Assets/Behavior Designer/Runtime/Actions/Reflection/InvokeMethod.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/InvokeMethod.cs b/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/InvokeMethod.cs index 5780c350..7c239dbd 100644 --- a/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/InvokeMethod.cs +++ b/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/InvokeMethod.cs @@ -32,13 +32,13 @@ namespace BehaviorDesigner.Runtime.Tasks {
var type = TaskUtility.GetTypeWithinAssembly(componentName.Value);
if (type == null) {
- //Debug.LogWarning("Unable to invoke - type is null");
+ Debug.LogWarning("Unable to invoke - type is null");
return TaskStatus.Failure;
}
var component = GetDefaultGameObject(targetGameObject.Value).GetComponent(type);
if (component == null) {
- //Debug.LogWarning("Unable to invoke method with component " + componentName.Value);
+ Debug.LogWarning("Unable to invoke method with component " + componentName.Value);
return TaskStatus.Failure;
}
@@ -59,7 +59,7 @@ namespace BehaviorDesigner.Runtime.Tasks var methodInfo = component.GetType().GetMethod(methodName.Value, parameterTypeList.ToArray());
if (methodInfo == null) {
- //Debug.LogWarning("Unable to invoke method " + methodName.Value + " on component " + componentName.Value);
+ Debug.LogWarning("Unable to invoke method " + methodName.Value + " on component " + componentName.Value);
return TaskStatus.Failure;
}
|