예제 #1
0
    private Vector3[] GetLinePathOfType(ConnectionType t, Vector3 start, Vector3 end)
    {
        switch (t)
        {
        default:
            return(LineHelper.GetEasedLine(start, end, lineSegments, 2f));

        case ConnectionType.Default:
            return(LineHelper.GetEasedLine(start, end, lineSegments, 2f));

        case ConnectionType.Power:
            return(LineHelper.GetStraightLine(start, end));
        }
    }