Пример #1
0
 protected virtual void OnDrawGizmos()
 {
     if (steeringMap != null && MapDebugger != null)
     {
         MapVisualiserPlanar.InDrawGizmos(MapDebugger, steeringMap, Range, steeringParameters.ResolutionAngle, transform);
     }
 }
Пример #2
0
        //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);
            }
        }