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