protected virtual void OnDrawGizmos() { if (steeringMap != null && MapDebugger != null) { MapVisualiserPlanar.InDrawGizmos(MapDebugger, steeringMap, Range, steeringParameters.ResolutionAngle, transform); } }
//protected virtual void OnDestroy() //{ // steeringParameters.OnResolutionChange -= MapResolutionChangeHandler; //} #if UNITY_EDITOR private void OnDrawGizmos() { if (maskMap != null && MapDebugger != null) { MapVisualiserPlanar.InDrawGizmos(MapDebugger, maskMap, Range, steeringParameters.ResolutionAngle, transform); } }