fix: build fix

This commit is contained in:
Chris
2025-08-02 22:21:00 -04:00
parent f663c934ab
commit 88b0acdaaa

View File

@@ -6,7 +6,9 @@ using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
#if UNITY_EDITOR
using NodeCanvas.Editor;
#endif
using UnityEditor;
namespace Reset {
@@ -32,6 +34,7 @@ namespace Reset {
private EnvironmentObserver observer;
#if UNITY_EDITOR
protected override void OnTaskInspectorGUI(){
BBParameterEditor.ParameterField("Cast Type", castType);
@@ -58,6 +61,7 @@ namespace Reset {
drawGizmosOnlyWhenActive = EditorGUILayout.Toggle("Draw Gizmos Only When Active", drawGizmosOnlyWhenActive);
}
}
#endif
//Return null if init was successfull. Return an error string otherwise
protected override string OnInit(){