fix: build fix
This commit is contained in:
@@ -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(){
|
||||
|
||||
Reference in New Issue
Block a user