List <Vector3> goPoint;     // 패스파인더를 통해 만들어진 루트입니다.


    //List<Vector3> routePoint; // 패스파인더를 통해 만들어진 꺾는 곳들입니다.
    //List<myNode> goPoint;

    // Start is called before the first frame update
    void Start()
    {
        SightRange = 6;
        //memoryMap = new Dictionary<Vector3, int>();
        myTransform   = GetComponent <Transform>();
        myPathFinder  = GetComponent <PathFinder>();
        myUnitMovable = GetComponent <UnitMovable>();

        directionList = GetComponent <UnitMovable>().directionList;
        //directionList = new List<Vector3>();
        //openNodeDic = new Dictionary<Vector3, myNode>();
        //closedNodeDic = new Dictionary<Vector3, myNode>();
        //moveSpeed = 3;
    }
    //List<GameObject>



    // Start is called before the first frame update
    void Start()
    {
        selectedUnit        = null;
        selectedUnitMovable = null;
    }