| 123456789101112131415161718192021222324252627 | using System.Collections.Generic;using Core.Utility;using UnityEngine;namespace GameLogic.Combat.CombatTool{    public class CombatPathMono: MonoBehaviour    {        // public Transform[] Transforms;        public CombatSencePath BesselPath;        private void OnDrawGizmos()        {            if (BesselPath == null)            {               return;            }            float bl = 1.0f / 300;            for (float i = 0; i < 300 - 1; i++)            {                Vector3 pos1 = BesselPath.GetValue(i * bl);                Vector3 pos2 = BesselPath.GetValue((i + 1) * bl);                Debug.DrawLine(pos1, pos2, Color.red);            }        }    }}
 |