From 6ee18886c8af3858de5e97599b23086823d9f320 Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 27 Jan 2021 16:30:19 +0800 Subject: =?UTF-8?q?*=E6=9B=B4=E6=96=B0Behaviour=20Designer=E7=89=88?= =?UTF-8?q?=E6=9C=AC=EF=BC=8C=E5=9C=A8=E6=9C=80=E4=B8=8B=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E6=9C=89BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Runtime/Actions/Reflection/GetFieldValue.cs | 6 +++--- .../Runtime/Actions/Reflection/GetFieldValue.cs.meta | 16 ++++++++-------- .../Runtime/Actions/Reflection/GetPropertyValue.cs | 6 +++--- .../Runtime/Actions/Reflection/GetPropertyValue.cs.meta | 16 ++++++++-------- .../Runtime/Actions/Reflection/InvokeMethod.cs | 6 +++--- .../Runtime/Actions/Reflection/InvokeMethod.cs.meta | 16 ++++++++-------- .../Runtime/Actions/Reflection/SetFieldValue.cs | 6 +++--- .../Runtime/Actions/Reflection/SetFieldValue.cs.meta | 16 ++++++++-------- .../Runtime/Actions/Reflection/SetPropertyValue.cs | 6 +++--- .../Runtime/Actions/Reflection/SetPropertyValue.cs.meta | 16 ++++++++-------- 10 files changed, 55 insertions(+), 55 deletions(-) (limited to 'Client/Assets/Behavior Designer/Runtime/Actions/Reflection') 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; } diff --git a/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/GetFieldValue.cs.meta b/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/GetFieldValue.cs.meta index 34bf75c3..72012c5d 100644 --- a/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/GetFieldValue.cs.meta +++ b/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/GetFieldValue.cs.meta @@ -1,8 +1,8 @@ -fileFormatVersion: 2 -guid: bc317dd7feb2085499edb0d0c4604640 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: +fileFormatVersion: 2 +guid: bc317dd7feb2085499edb0d0c4604640 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: 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; } diff --git a/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/GetPropertyValue.cs.meta b/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/GetPropertyValue.cs.meta index 587385b3..ae51d39e 100644 --- a/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/GetPropertyValue.cs.meta +++ b/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/GetPropertyValue.cs.meta @@ -1,8 +1,8 @@ -fileFormatVersion: 2 -guid: dda9c9b7c6ff2ee4f95a2e208cddae64 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: +fileFormatVersion: 2 +guid: dda9c9b7c6ff2ee4f95a2e208cddae64 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: 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; } diff --git a/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/InvokeMethod.cs.meta b/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/InvokeMethod.cs.meta index eed4a86a..76132da7 100644 --- a/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/InvokeMethod.cs.meta +++ b/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/InvokeMethod.cs.meta @@ -1,8 +1,8 @@ -fileFormatVersion: 2 -guid: 359bd67578f53034ab2eb00e7696d317 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: +fileFormatVersion: 2 +guid: 359bd67578f53034ab2eb00e7696d317 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: 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; } diff --git a/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/SetFieldValue.cs.meta b/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/SetFieldValue.cs.meta index 433a991c..75186eca 100644 --- a/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/SetFieldValue.cs.meta +++ b/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/SetFieldValue.cs.meta @@ -1,8 +1,8 @@ -fileFormatVersion: 2 -guid: 21e389787213ba24ab1a6817def634ae -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: +fileFormatVersion: 2 +guid: 21e389787213ba24ab1a6817def634ae +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: 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; } diff --git a/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/SetPropertyValue.cs.meta b/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/SetPropertyValue.cs.meta index 012823b6..79968a23 100644 --- a/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/SetPropertyValue.cs.meta +++ b/Client/Assets/Behavior Designer/Runtime/Actions/Reflection/SetPropertyValue.cs.meta @@ -1,8 +1,8 @@ -fileFormatVersion: 2 -guid: d98b13b7ae4b36b4092b439731466d9b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: +fileFormatVersion: 2 +guid: d98b13b7ae4b36b4092b439731466d9b +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: -- cgit v1.1-26-g67d0