maint: clean-up pull (world) #6

Merged
tealtxgr merged 5 commits from world-old into dev 2025-08-03 02:28:51 +00:00
Showing only changes of commit 88b0acdaaa - Show all commits

View File

@@ -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(){